October 2018
Beginner
232 pages
7h 52m
English
The following is a syntax example when using a string script argument in your Vagrantfile:
config.vm.provision :shell do |shell| shell.inline = "echo $1" shell.args = "'this is a test'" end
When the vagrant up process hits the provisioning stage, we will see an output echoed onto the screen with a value of this is a test:

Read now
Unlock full access