This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
технология_vagrant [2024/04/09 11:16] val [Multi-Machine Vagrant Environments] |
технология_vagrant [2024/04/09 16:59] (current) val [Provision с использованием внешних скриптов] |
||
---|---|---|---|
Line 181: | Line 181: | ||
* [[https://stackoverflow.com/questions/15461898/passing-variable-to-a-shell-script-provisioner-in-vagrant|Passing variable to a shell script provisioner in vagrant]] | * [[https://stackoverflow.com/questions/15461898/passing-variable-to-a-shell-script-provisioner-in-vagrant|Passing variable to a shell script provisioner in vagrant]] | ||
+ | |||
+ | <code> | ||
+ | vagrant.exe ssh node2 -c 'sudo apt install open-iscsi -y' | ||
+ | |||
+ | vagrant.exe ssh node3 -c 'sudo apt install open-iscsi -y' | ||
+ | </code> | ||
<code> | <code> |