-
Notifications
You must be signed in to change notification settings - Fork 1
Using a vm via vagrant
We've built a VM using the Vagrant system for easy installation and use. After setting up the VM, you'll be able to edit files in your native OS and run them on the VM. This VM is suitable for installing on Windows, Mac OS, and Linux.
-
Install Vagrant using their instructions.
-
Create a new directory:
mkdir asp_vm; cd asp_vm
-
Add our base VM to Vagrant:
vagrant box add aspvm http://www.cs.berkeley.edu/~skamil/projects/asp/package.box
This will download a ~250 MB file that is the base VM. It is a bare-bones Debian Squeeze install.
-
Download our Vagrantfile and place it in the asp_vm directory:
wget http://www.cs.berkeley.edu/~skamil/projects/asp/Vagrantfile
-
Download our Puppet script that will set up the VM:
mkdir manifests; cd manifests; wget http://www.cs.berkeley.edu/~skamil/projects/asp/aspvm.pp; cd ..
-
Start the VM.
vagrant up
See Vagrant's documentation for more, but you can ssh to the VM using vagrant ssh
. In addition, the asp_vm
directory is shared between the host and the VM; in the VM, it's located in /vagrant
. This allows you to edit files in your native OS, and run things within the VM.