diff options
author | Victor Morales <victor.morales@intel.com> | 2018-11-27 05:13:11 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-12-07 08:13:42 -0800 |
commit | aa56022e0fba3c358e46e8671d9a0cd36094ebaa (patch) | |
tree | 63bbfa3aee4fd7fc5298e1e18810821d8aaeaade /vagrant/Vagrantfile | |
parent | 8485e82b9c447024ae0eca1899fde5bffafc9f41 (diff) |
Integrate OVN4NFV plugin
This change includes the files to install, configure and test the
OVN4NFV plugin.
Change-Id: I0c431e475bd391e13680c734cff555e4dfc055ae
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-304
Diffstat (limited to 'vagrant/Vagrantfile')
-rw-r--r-- | vagrant/Vagrantfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index 1b84cb4b..3314fe94 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -23,7 +23,7 @@ nodes = YAML.load_file(pdf) # Inventory file creation File.open(File.dirname(__FILE__) + "/inventory/hosts.ini", "w") do |inventory_file| - inventory_file.puts("[all:vars]\nansible_connection=ssh\nansible_ssh_user=vagrant\n[all]") + inventory_file.puts("[all]") nodes.each do |node| inventory_file.puts("#{node['name']}\tansible_ssh_host=#{node['ip']} ansible_ssh_port=22") end @@ -119,6 +119,7 @@ Vagrant.configure("2") do |config| installer.vm.provision 'shell', privileged: false do |sh| sh.env = {'KRD_PLUGIN_ENABLED': 'true'} 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 chown vagrant /home/vagrant/.ssh/id_rsa chmod 400 /home/vagrant/.ssh/id_rsa |