$ 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
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|
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