Fix missing "-" $script variable definition.
In the $script variable definition there appears to be a typo of "<<SCRIPT" when it should be "<<-SCRIPT". I ran into this issue while editing the Vagrant file on a Fedora variant with ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux].
This commit is contained in:
parent
419afb4dcf
commit
e5dd4d9e36
|
@ -107,7 +107,7 @@ Combined with a little bit more Ruby, this makes it very easy to embed
|
|||
your shell scripts directly within your Vagrantfile. Another example below:
|
||||
|
||||
```ruby
|
||||
$script = <<SCRIPT
|
||||
$script = <<-SCRIPT
|
||||
echo I am provisioning...
|
||||
date > /etc/vagrant_provisioned_at
|
||||
SCRIPT
|
||||
|
|
Loading…
Reference in New Issue