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