From 194bcbff90f554c1c06d579f0615cef513b054cc Mon Sep 17 00:00:00 2001 From: Wee Keat Chin Date: Mon, 10 Jul 2017 14:26:34 +1000 Subject: [PATCH] Fixed vagrant boot up issue - network wont start --- http/vbox-ks.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/http/vbox-ks.cfg b/http/vbox-ks.cfg index 648e11b..a5428e1 100644 --- a/http/vbox-ks.cfg +++ b/http/vbox-ks.cfg @@ -35,4 +35,10 @@ useradd -u 9999 -g vagrant -G wheel vagrant echo "vagrant" | passwd --stdin vagrant sed -E -i '/Defaults[[:space:]]+requiretty/ s/^/#/' /etc/sudoers echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers + +# Fix for https://github.com/CentOS/sig-cloud-instance-build/issues/38 +cat >> /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF +DEVICE="eth0" +EOF + %end