From ed11a6cf1d97d0c875f8435fe4b0db88e1b15544 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 19 Oct 2024 22:05:19 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- host/make.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/host/make.sh b/host/make.sh index 8e64e32..0c063d5 100755 --- a/host/make.sh +++ b/host/make.sh @@ -59,6 +59,7 @@ if ! [ -z $BOOTSTRAP_CLEAN ] ; then DFL_HOSTS=SKIP DFL_DNS=1 DFL_FIREWALL=SKIP + # stage 2: clean -> final elif [ -e "$INTERFACES".final ] ; then @ mv "$INTERFACES"{.final,.new} @@ -68,6 +69,7 @@ if ! [ -z $BOOTSTRAP_CLEAN ] ; then DFL_HOSTS=1 DFL_DNS=SKIP DFL_FIREWALL=1 + # done else exit @@ -212,14 +214,10 @@ if xreadYes "# Create bridges?" BRIDGES ; then fi -echo "# Building config..." -# XXX do we need any extra vars here??? +echo "# Building config templates..." buildAssets -# XXX /etc/hosts??? - - # /etc/hosts if xreadYes "# Update /etc/hosts?" HOSTS ; then @ cp /etc/hosts{,.bak} @@ -230,6 +228,7 @@ if xreadYes "# Update /etc/hosts?" HOSTS ; then reviewApplyChanges /etc/hosts fi + # DNS if xreadYes "# Update DNS?" DNS ; then file=/etc/resolv.conf