From 7187f7ebd90a3a87f15c406cec4ebcda00229343 Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Mon, 17 Apr 2017 09:48:12 -0400 Subject: fix networking issue in some Mitaka distributions Change-Id: I7fbb9fdd748095e413379380298f058a76de318c Signed-off-by: Marco Platania --- boot/asdc_install.sh | 1 + boot/mso_install.sh | 1 + boot/robot_install.sh | 1 + 3 files changed, 3 insertions(+) (limited to 'boot') diff --git a/boot/asdc_install.sh b/boot/asdc_install.sh index e9edfaa4..ff44283f 100644 --- a/boot/asdc_install.sh +++ b/boot/asdc_install.sh @@ -85,6 +85,7 @@ then sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub grub-mkconfig -o /boot/grub/grub.cfg sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg + echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic reboot fi diff --git a/boot/mso_install.sh b/boot/mso_install.sh index 76d7070d..2c56716c 100644 --- a/boot/mso_install.sh +++ b/boot/mso_install.sh @@ -56,6 +56,7 @@ then sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub grub-mkconfig -o /boot/grub/grub.cfg sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg + echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic reboot fi diff --git a/boot/robot_install.sh b/boot/robot_install.sh index 1787f65c..ed116bcb 100644 --- a/boot/robot_install.sh +++ b/boot/robot_install.sh @@ -55,6 +55,7 @@ then sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub grub-mkconfig -o /boot/grub/grub.cfg sed -i "s/ens[0-9]*/eth0/g" /etc/network/interfaces.d/*.cfg + echo 'network: {config: disabled}' >> /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic reboot fi -- cgit 1.2.3-korg