Skip to content

Instantly share code, notes, and snippets.

@pathammer
Created November 5, 2018 20:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pathammer/ee41b56e3c251dc25597d45e9da451da to your computer and use it in GitHub Desktop.
Run a shell script inside vagrant VM
vagrant ssh -c "cd /vagrant; bash -s - ARGUMENT < shell_script.sh "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment