commit 2878aa006072ac7023765c0386cc90ae63389be4 Author: Dusty Mabe dusty@dustymabe.com Date: Wed Dec 9 11:36:17 2015 -0500
Fix f23 vagrant atomic host not having eth0 net device name.
Fixes https://fedorahosted.org/cloud/ticket/141
fedora-cloud-atomic-vagrant.ks | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) --- diff --git a/fedora-cloud-atomic-vagrant.ks b/fedora-cloud-atomic-vagrant.ks index 5f5d8ff..0ad0586 100644 --- a/fedora-cloud-atomic-vagrant.ks +++ b/fedora-cloud-atomic-vagrant.ks @@ -8,6 +8,13 @@ services --disabled=cloud-init,cloud-init-local,cloud-config,cloud-final user --name=vagrant --password=vagrant rootpw vagrant
+# The addition of the net.ifnames=0 and biosdevnames=0 option ensures that +# even on VirtualBox virt, we get a primary network device with "eth0" as the name +# This simplifies things and allows a single disk image for both supported Vagrant +# platforms (virtualbox and kvm) +bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" + + %post --erroronfail
# Work around cloud-init being both disabled and enabled; need