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

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -