Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 8

9 bytes added, 13:26, 10 November 2019
PART 1: Simplest example
:In the command above we're using the fab program to import the file fabfile.py and execute the getHostname function on the worker 192.168.122.169. Note that the IP address of your first worker will likely be different.
: If you did all the setup right and you get a password prompt when execute the above command, read the prompt carefully and see who's password it prompts prompted youfor. If it is not the same as your [seneca_id], verify that you have the following line in your fabfile and you can ssh to your worker vm without password:
:<source lang="python">env.user = '[seneca_id]'</source>
1,760
edits