moved from centos 7 to debian-bookworm

includes modifications in install.py and router.py
This commit is contained in:
l_samenv
2024-03-05 08:03:00 +01:00
parent 8680e5b2a9
commit e4e37eb049
17 changed files with 110 additions and 64 deletions

View File

@@ -1,7 +1,7 @@
ETHNAME=$(cat /sys/class/net/enp1s0/address)
ETHNAME=${ETHNAME//:/}
APUID=${ETHNAME: -6}
FOUND="$(shopt -s nullglob; echo /root/aputools/servercfg/*_$APUID.cfg)"
FOUND="$(shopt -s nullglob; echo /home/l_samenv/boxtools/cfg/*_$APUID.cfg)"
if [ -z "$FOUND" ]; then
HOSTNAME=apu$APUID
else