MAN8FILES = overlay-boot.8 overlay-go.8 overlay-stop.8
HTMLDOC = $(MAN8FILES:%=%.html)
VARLIBFILES = overlay-boot overlay-go overlay-stop functions reaper
+VARLIBFILES += overlay-init overlay-postmount overlay-premount
all: asm/reaper
config UPPER "$BASE/root"
config WORK "$BASE/work"
config LOWER "/"
- config START "!networking ssh"
+ config START "networking ssh"
config PREMOUNT "$PROGRAMDIR/overlay-premount"
config POSTMOUNT "$PROGRAMDIR/overlay-postmount"
config INIT "$PROGRAMDIR/overlay-init"
# configuration file named on the command line.
# See "man overlay-boot" for details.
+set -x
PROGRAMDIR="$(dirname $(realpath $0))"
. $PROGRAMDIR/functions
./opt/subhost/mta/mta.conf
****
BASE=.
+CABLES= =
START= rsyslog newtorking ssh postfix
****
the configuration file +mta.conf+ and directories +root+, +work+ and
+live+. *overlay-boot* will set up an overlay mount on +live+ with
+root+ as UPPER, +work+ as WORK and +/+ as LOWER, i.e. an overlay of
-the main host filesystem.
+the main host filesystem. Further, the running subhost will feature a
+virtual cable to the main host, where the subhost end is named +eth0+
+and the main host end is named +mta0+, and upon start, an +ifup mta0+
+is attempted at the host end while the subhost end is handled via its
+neworking service.
+
+