ssh - Run Python script in Vagrant -
this dumb question please me.
q. how run python script saved in local machine?
after vagrant up
, vagrant ssh
, not see python file in vm. if want run python scripts saved in mac? not want copy , paste them manually using vim.
how run python script in vagrant ssh?
on guest os there folder under /
called /vagrant/
files , directories under directory on host
machine contains .vagrantfile
if put script in folder shared vm.
additionally if using chef
provisioner can use script
resource run external scripts during provisioning step.
Comments
Post a Comment