diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-05-13 10:05:46 +0300 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-06-10 09:17:32 +0300 |
commit | 8f5b4cdbe151b509fc1309e1bc4fc19b4bc5950c (patch) | |
tree | 4efca8e84025ef68222256d63c9fc3062014cfb4 /kud/hosting_providers/vagrant/Vagrantfile | |
parent | f30199f018ae167df804c23079eb4bcec6c10f34 (diff) |
Make ovn-central network interface configurable
installer.sh script is configuring ovn-central address <ip>:<port>
to environment variable.
Ip address is detected from the ovn-central host through ansible
by grepping ifconfig output, but in this step detected network
interface is hard-coded in the code to be "eth1".
This commit makes network interface configurable in aio/vagrant
deployment.
Issue-ID: MULTICLOUD-621
Change-Id: Icbe22ffdcb45c5f16067ea609eec76fb70c0ea78
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'kud/hosting_providers/vagrant/Vagrantfile')
-rw-r--r-- | kud/hosting_providers/vagrant/Vagrantfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/hosting_providers/vagrant/Vagrantfile b/kud/hosting_providers/vagrant/Vagrantfile index d068b84a..2d1b5ab4 100644 --- a/kud/hosting_providers/vagrant/Vagrantfile +++ b/kud/hosting_providers/vagrant/Vagrantfile @@ -120,7 +120,7 @@ Vagrant.configure("2") do |config| installer.vm.network :private_network, :ip => "10.10.10.2", :type => :static installer.vm.synced_folder '../../../', '/home/vagrant/multicloud-k8s/', type: sync_type installer.vm.provision 'shell', privileged: false do |sh| - sh.env = {'KUD_PLUGIN_ENABLED': 'false'} + sh.env = {'KUD_PLUGIN_ENABLED': 'false', 'OVN_CENTRAL_INTERFACE': 'eth1'} sh.inline = <<-SHELL cp /vagrant/insecure_keys/key.pub /home/vagrant/.ssh/id_rsa.pub cp /vagrant/insecure_keys/key /home/vagrant/.ssh/id_rsa |