Virtual Machine for Python Development
After you install Vagrant:
git clone git://github.com/UT-Austin/Python-VM.git
cd Python-VM/
vagrant up
vagrant ssh
Open a command prompt (type cmd
at the run or find dialog in the Windows
start menu)
Run the following commands:
git clone git://github.com/UT-Austin/Python-VM.git
cd Python-VM
vagrant up
Windows does not support vagrant ssh
, so now you will need to use
an external SSH client to access the VM.
- Download and install PuTTY
- The SSH key that Vagrant provides needs to be converted in order to work
with PuTTY, so run
C:\Program Files (x86)\PuTTY\puttygen.exe
- Now click
Load
, and navigate to the.vagrant.d
directory in your home directory. - Change the file type dropdown next to
File name
, so that it lists All Files. - Select
insecure_private_key
- Now click
Save private key
. ClickYes
when it complains about not having a password (this doesn't matter since it is just for use with the VM). - Save the file with a
.ppk
suffix, and remember where you save it. - Now you can run PuTTY and set up a new profile to connect to your Vagrant
box. Set the following settings:
- In
Session
- set
Host Name (or IP address)
tolocalhost
- set
Port
to2222
- set
- In
Connection
->Data
- set
Auto-login username
tovagrant
- set
- In
Connection
->SSH
->Auth
- set
Private key file for authentication:
to the location of the the.ppk
file you created earlier
- set
- (Optional) Back in
Session
- Type a name like
PyPE Vagrant
in theSaved Sessions
input and clickSave
. This will allow you to avoid having to do the other steps every time.
- Type a name like
- Click
Open
, ignore a scary security warning if it shows up, and you should now be sitting at a command line inside your VM.
- In
You can make customizations by editing puppet.facter inside of the Vagrant file.