From 181806cdd3bc3cf5d0a38d09eb2be71aeed9d7ee Mon Sep 17 00:00:00 2001 From: sean Date: Mon, 15 Jul 2019 15:31:11 -0700 Subject: [PATCH] tweaks --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 0b836fb..ed78adb 100644 --- a/setup.sh +++ b/setup.sh @@ -269,7 +269,7 @@ echo "echo \"Done.\"" >> /mnt/setup-chroot.sh # network configuration should have optional static configuration - not just DHCP, it's very important echo "" -echo "Writing network interfaces file..." +echo "Writing network interfaces file..." >> /mnt/setup-chroot.sh macaddr=$(echo $hostname|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/') echo "mkdir -p /etc/network && mkdir -p /etc/network/interfaces.d" >> /mnt/setup-chroot.sh echo "echo \"auto lo br0\" > /etc/network/interfaces" >> /mnt/setup-chroot.sh @@ -284,7 +284,7 @@ echo "echo \" bridge_stp on\" >> /etc/network/interfaces/br0" >> /mnt/set echo "echo \" dns-nameservers 127.0.0.53\" >> /etc/network/interfaces/br0" >> /mnt/setup-chroot.sh echo "echo \"source-directory /etc/network/interfaces.d\" > /etc/network/interfaces" >> /mnt/setup-chroot.sh echo "systemctl unmask networking && systemctl enable networking" >> /mnt/setup-chroot.sh -echo "Done." +echo "Done." >> /mnt/setup-chroot.sh # configure docker storage to use zfs