diff --git a/config.yaml b/config.yaml index b2d3d3f..5675804 100644 --- a/config.yaml +++ b/config.yaml @@ -101,6 +101,9 @@ chroot_commands: - 'rc-update add local' # Enable private interface - - 'echo -e "\n\nauto eth1\niface eth1 inet dhcp" >>/etc/network/interfaces' + - 'echo "network: {config: disabled}" >/etc/cloud/cloud.cfg.d/99-disable-network-config.cfg' + - 'echo -e "auto lo\niface lo inet loopback\n" >/etc/network/interfaces' + - 'echo -e "auto eth0\niface eth0 inet dhcp\niface eth0 inet6 auto\n" >>/etc/network/interfaces' + - 'echo -e "auto eth1\niface eth1 inet dhcp\niface eth1 inet6 auto\n" >>/etc/network/interfaces' ...