-
Notifications
You must be signed in to change notification settings - Fork 22
Using a vm via vagrant
chick edited this page Dec 17, 2013
·
8 revisions
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 a vagrantfile to the current directory:
vagrant init aspvm
-
Add our base VM to Vagrant (this will download a ~360 MB file):
vagrant box add aspvm https://bitbucket.org/ddinh/asp-vms/downloads/base.ovapackage.box
-
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.
To shut down the VM run vagrant suspend
or vagrant halt
.