diff options
author | torben | 2018-09-10 19:00:29 +0200 |
---|---|---|
committer | torben | 2018-09-10 19:00:29 +0200 |
commit | fcb000bd23fcd49edc482894cde01ae4a506f03e (patch) | |
tree | df6aa9045d7a301ee5c7ad65330754566fcb5987 | |
parent | improve loggin (diff) | |
download | systemd-init-fcb000bd23fcd49edc482894cde01ae4a506f03e.tar.gz systemd-init-fcb000bd23fcd49edc482894cde01ae4a506f03e.tar.xz systemd-init-fcb000bd23fcd49edc482894cde01ae4a506f03e.zip |
Tranfer host name during switch root. Add test wlan network.
-rw-r--r-- | modules.d/dnbd-root-filesystem/configuration/dnbd/alt-servers | 4 | ||||
-rwxr-xr-x | modules.d/dnbd-root-filesystem/hooks/mount-root-device.sh | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/modules.d/dnbd-root-filesystem/configuration/dnbd/alt-servers b/modules.d/dnbd-root-filesystem/configuration/dnbd/alt-servers index fbf3ce6a..7d594399 100644 --- a/modules.d/dnbd-root-filesystem/configuration/dnbd/alt-servers +++ b/modules.d/dnbd-root-filesystem/configuration/dnbd/alt-servers @@ -1,5 +1,9 @@ ; Enforce client to use this proxy only by avoiding to propagate alt-server ; configuration to client. +; Fritzbox wlanboot (LAN) +192.168.188.21 +; Fritzbox wlanboot (W-LAN) +192.168.188.20 ; UNI LAN (external adapter) -10.21.9.111 ; Home Lan diff --git a/modules.d/dnbd-root-filesystem/hooks/mount-root-device.sh b/modules.d/dnbd-root-filesystem/hooks/mount-root-device.sh index 314f8cb9..82be20b6 100755 --- a/modules.d/dnbd-root-filesystem/hooks/mount-root-device.sh +++ b/modules.d/dnbd-root-filesystem/hooks/mount-root-device.sh @@ -31,6 +31,7 @@ bl.exception.try { "$NEWROOT/usr/lib/systemd/system/local-fs.target.wants/systemd-remount-fs.service" \ &>/dev/null || \ true + cat /etc/hostname > "$NEWROOT/etc/hostname" fi } bl.exception.catch { bl.logging.error "$bl_exception_last_traceback" |