Clean up words a bit
This commit is contained in:
parent
cc63ba34cb
commit
ce4525e7fd
|
@ -136,12 +136,13 @@ that the external path has the proper extension (".bat" or ".ps1"), because
|
|||
Windows uses this to determine what kind fo file it is to execute. If you
|
||||
exclude this extension, it likely won't work.
|
||||
|
||||
To run a script already available on the guest you have to use an inline script.
|
||||
To run a script already available on the guest you can use an inline script to
|
||||
invoke the remote script on the guest.
|
||||
|
||||
```ruby
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.provision "shell",
|
||||
inline: "/path/to/the/script/on/the/guest"
|
||||
inline: "/bin/sh /path/to/the/script/already/on/the/guest.sh"
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue