From bbbc55e4a203e61505fb518c98d35e703c2ddddf Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 4 Sep 2017 15:47:05 +0000 Subject: [PATCH] Add static configuration of eth1 in development environment This is required in order to allow kayobe to reach the controller prior to running the network configuration plays. --- Vagrantfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index c176a813d..fc90b1658 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -84,6 +84,15 @@ EOF" | sudo -s config.vm.provision :reload config.vm.provision "shell", privileged: false, inline: <<-SHELL + cat << EOF | sudo tee /etc/sysconfig/network-scripts/ifcfg-eth1 +DEVICE=eth1 +USERCTL=no +BOOTPROTO=none +IPADDR=192.168.33.3 +NETMASK=255.255.255.0 +ONBOOT=yes +NM_CONTROLLED=no +EOF sudo ifup eth1 sudo yum -y install gcc git vim python-virtualenv