Revert "Seed specific Fedora network configuration"

This reverts commit 4ba28063a7.

The new plan is to use the DIB baremetal element to enable
stable interface names by default on all distros... so
no need to disable them as a special case for the seed.

Change-Id: I57284f86988a634275d3b93f9eb37d69a9e3c156
This commit is contained in:
Dan Prince 2014-02-24 15:40:45 -05:00
parent 4d1ab4b4c1
commit 8115d1289d

View File

@ -1,21 +0,0 @@
#!/bin/bash
set -ex
# create softlink to /dev/null which disables the net-name-slot rules
# which rename eth0 -> em1, etc. We don't want to do this on the
# seed VM
if [ -d /etc/udev/rules.d/ ]; then
ln -sf /dev/null /etc/udev/rules.d/80-net-name-slot.rules
fi
if [ -d /etc/sysconfig/network-scripts ]; then
# enable DHCP on eth0 for the seed
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<EOF_CAT
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
EOF_CAT
fi