Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
fireflycons committed Sep 3, 2024
1 parent a004758 commit 9eaa4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vagrant/generic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ It should be very simple affair to customize this for a given project and more o

* `provision_script`

Run the given script which should be placed in the [linux](./linux/) subdirectory and committed to the target project's repo. The shell script can be passed optional arguments. Note that the same script will be run on *all* guests, so ensure it is [distro aware](./linux/package_install.sh#L10-L13) and idempotent. Host name should be set already as long as the script comes after `hv.deploy` so that can also be switched on
Run the given script which should be placed in the [linux](./linux/) subdirectory and committed to the target project's repo. The shell script can be passed optional arguments. Note that the same script will be run on *all* guests, so ensure it is [distro aware](./linux/package_install.sh#L10-L13) and idempotent. Host name should be set already as long as the script comes after `hv.deploy` so that could be used in a `case` block.

```ruby
hv.provision_script [arg1 , arg2, ...argn,] script: "my_script.sh"
Expand Down

0 comments on commit 9eaa4dd

Please sign in to comment.