Skip to content

Commit

Permalink
Fixed vagrant boot up issue - network wont start
Browse files Browse the repository at this point in the history
  • Loading branch information
visualdensity committed Jul 10, 2017
1 parent 26fe388 commit 194bcbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions http/vbox-ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 194bcbf

Please sign in to comment.