X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=Vagrantfile;h=282dcde1357e2ed0c5bd1fb4aba196254856a1ef;hb=b5e361cfb202f7e02cb91eac76ba553d074b93fe;hp=f3c700e6593903c3865ab7b53ae9ac91e98c22b1;hpb=e3be88235a3456ea1b7fd34460d21d894ba21871;p=icn.git diff --git a/Vagrantfile b/Vagrantfile index f3c700e..282dcde 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -21,7 +21,8 @@ To get started with ICN: $ vagrant ssh jump vagrant@jump:~$ sudo su root@jump:/home/vagrant# cd /icn - root@jump:/home/vagrant# make install + root@jump:/icn# make jump_server + root@jump:/icn# make cluster ------------------------------------------------------ MSG @@ -42,6 +43,7 @@ Vagrant.configure("2") do |config| config.vm.define 'jump' do |m| # Note the apparent typo in the name below, it is correct as-is m.vm.box = 'intergratedcloudnative/ubuntu1804' + m.vm.box_version = '1.0.0' m.vm.hostname = 'jump' m.vm.synced_folder '.', '/icn' m.vm.provider :libvirt do |libvirt| @@ -49,7 +51,7 @@ Vagrant.configure("2") do |config| libvirt.default_prefix = "#{vars[:site]}-" libvirt.cpu_mode = 'host-passthrough' libvirt.cpus = 8 - libvirt.memory = 16384 + libvirt.memory = 24576 libvirt.nested = true # The ICN baremetal network is the vagrant management network, @@ -145,6 +147,10 @@ Vagrant.configure("2") do |config| trigger.run = {inline: "./tools/vagrant/create_provisioning_cr.sh #{vars[:num_machines]} #{vars[:site]} machine-"} end end + m.trigger.after [:up] do |trigger| + trigger.name = 'Creating machine resource' + trigger.run = {inline: "./tools/vagrant/create_machine_resource.sh #{i} #{vars[:site]} machine-#{i}"} + end end end end