diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-07-16 12:26:56 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-07-16 12:26:56 -0400 |
commit | adce78d68470b341b761372a70d06b5aec88de06 (patch) | |
tree | b2635864af833d7f2ff55e00121d9ce4fc75046f /Vagrantfile | |
parent | 7c5e6ad3d6df45f53a023e24215b6fba7f93571a (diff) | |
parent | 8dac3d6360805ca40955dddb5431f54d7485610f (diff) | |
download | openshift-adce78d68470b341b761372a70d06b5aec88de06.tar.gz openshift-adce78d68470b341b761372a70d06b5aec88de06.tar.bz2 openshift-adce78d68470b341b761372a70d06b5aec88de06.tar.xz openshift-adce78d68470b341b761372a70d06b5aec88de06.zip |
Merge pull request #338 from dlbewley/issue331
fixes #331 causes NetworkManager to yield 2nd NIC
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile index 648bc5171..a832ae84e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -39,6 +39,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.define "node#{node_index}" do |node| node.vm.hostname = "ose3-node#{node_index}.example.com" node.vm.network :private_network, ip: "192.168.100.#{200 + n}" + config.vm.provision "shell", inline: "nmcli connection reload; systemctl restart network.service" end end @@ -46,6 +47,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| master.vm.hostname = "ose3-master.example.com" master.vm.network :private_network, ip: "192.168.100.100" master.vm.network :forwarded_port, guest: 8443, host: 8443 + config.vm.provision "shell", inline: "nmcli connection reload; systemctl restart network.service" master.vm.provision "ansible" do |ansible| ansible.limit = 'all' ansible.sudo = true |