-
Notifications
You must be signed in to change notification settings - Fork 1
Diagrams can be found at:
Diagrams edited with: https://app.genmymodel.com/welcome
Another Activity Diagram can be found at: https://www.dropbox.com/s/v0u0lcvklv1qdgp/activity-overview.pdf
Generate a ssh key pair with ssh-keygen
and save the private key as vmrootfs/root/.ssh/id_rsa
, where vmrootfs is the home folder for VMs. It is recommended, but not mandatory to put the public key in the same directory.
Also, the public key must be added to authorized_keys file in the same folder.
- Set PYTHONPATH to the folder where vlab tree resides e.g.:
export PYTHONPATH='home/costash/workspace/vlab'
- Go to bin directory from vlab tree
- Run:
sudo PYTHONPATH=$PYTHONPATH ./v
Note: For using ssh to connect to send commands to VMs use ssh [email protected] '. $HOME/.bashrc; YOUR_COMMAND'
To be able to use the same PATH defined inside the VM you need to source $HOME/.bashrc before sending any command over ssh. E.g.: ssh [email protected] . $HOME/.bashrc; echo $PATH
. This way you will avoid problems with different PATH variable when running over ssh.