tweaks
This commit is contained in:
@@ -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
|
# network configuration should have optional static configuration - not just DHCP, it's very important
|
||||||
|
|
||||||
echo ""
|
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/')
|
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 "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
|
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 \" 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 "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 "systemctl unmask networking && systemctl enable networking" >> /mnt/setup-chroot.sh
|
||||||
echo "Done."
|
echo "Done." >> /mnt/setup-chroot.sh
|
||||||
|
|
||||||
|
|
||||||
# configure docker storage to use zfs
|
# configure docker storage to use zfs
|
||||||
|
|||||||
Reference in New Issue
Block a user