Build VM e2etest site values
[icn.git] / Vagrantfile
index aa6d2d1..282dcde 100644 (file)
@@ -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
@@ -146,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