My Virtual Machine for Python Development at UT Austin
Puppet Ruby
Pull request Compare This branch is even with UT-Austin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
manifests
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
Vagrantfile

README.md

Build Status

Python-VM

Virtual Machine for Python Development

Setup

After you install Vagrant:

Linux

git clone git://github.com/UT-Austin/Python-VM.git
cd Python-VM/
vagrant up
vagrant ssh

Windows

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.

  1. Download and install PuTTY
  2. 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
  3. Now click Load, and navigate to the .vagrant.d directory in your home directory.
  4. Change the file type dropdown next to File name, so that it lists All Files.
  5. Select insecure_private_key
  6. Now click Save private key. Click Yes when it complains about not having a password (this doesn't matter since it is just for use with the VM).
  7. Save the file with a .ppk suffix, and remember where you save it.
  8. 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) to localhost
      • set Port to 2222
    • In Connection -> Data
      • set Auto-login username to vagrant
    • In Connection -> SSH -> Auth
      • set Private key file for authentication: to the location of the the .ppk file you created earlier
    • (Optional) Back in Session
      • Type a name like PyPE Vagrant in the Saved Sessions input and click Save. This will allow you to avoid having to do the other steps every time.
    • Click Open, ignore a scary security warning if it shows up, and you should now be sitting at a command line inside your VM.

How do I customize this thing?

You can make customizations by editing puppet.facter inside of the Vagrant file.