simnom
6/16/2014 - 12:14 PM

Vagrant: Steps before packaging Centos box for Vagrant

Vagrant: Steps before packaging Centos box for Vagrant

# Kill us some udev crap.
sudo ln -sf /dev/null /lib/udev/rules.d/75-persistent-net-generator.rules
sudo rm -f /etc/udev/rules.d/70-persistent-net.rules

# On startup, remove HWADDR from the eth0, and remove eth1 and eth2 interface.
sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0

sudo rm -f /etc/sysconfig/network-scripts/ifcfg-eth1
sudo rm -f /etc/sysconfig/network-scripts/ifcfg-eth2