summaryrefslogtreecommitdiffstats
path: root/boot/robot_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-04-17 09:48:12 -0400
committerMarco Platania <platania@research.att.com>2017-04-17 13:49:16 +0000
commit42e4e7945dfb51b0f922791efb09598aef0bd6d9 (patch)
treeda39a500c1befbcf5c28df2a2d0fb906c64410af /boot/robot_install.sh
parent2ccf2c835c45003d26c6a454ef0bdd86fc075a10 (diff)
fix networking issue in some Mitaka distributions
Change-Id: I7fbb9fdd748095e413379380298f058a76de318c Signed-off-by: Marco Platania <platania@research.att.com> (cherry picked from commit 7187f7ebd90a3a87f15c406cec4ebcda00229343)
Diffstat (limited to 'boot/robot_install.sh')
-rw-r--r--boot/robot_install.sh1
1 files changed, 1 insertions, 0 deletions
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