Wednesday, 15 June 2011

How to run inline script in Vagrant? -


I'm new to Vendor and am trying to run an inline script as a document. My understanding is that when I vagrant ssh , I should see the production of inline execution. But I do not see it. Again, tried after vagrant reload , but there is no luck, is there something wrong here? Awara Version 1.7.2

  Vagrant.configure (2) do | Config | I tried another variation and failed  
 < Code> Traffic Configure (2) | Config | ... config.vm.provision "shell" do | S | S.inline: "echo I Ubuntu" End End  

You need to run < To see the message, / p>

  vagrant provision  

is to run only once when you launch a new VM for the first time And it will run the actions to setup the machine.


No comments:

Post a Comment