- Download
- VirtualBox
- Vagrant
- Git
- Extract VirtualBox .exe setup to get .msi files
VirtualBoxInstaller.exe -extract -path C:\Setup
- Install VirtualBox
virtualboxInstallerInExe.msi /passive ADDLOCAL=VBoxApplication,VBoxNetwork
- This installs VirtualBox without prompting to install unsigned drivers that are not needed
- Install Vagrant
- vagrant.msi /passive /norestart
- Build Vagrant box
- Start with latest Ubuntu Server LTS
- Install nginx
sudo apt-get install nginx
- Configure nginx
location /iis/ {
proxy_pass http://10.0.2.2;
proxy_redirect off;
}
- Package and upload box
- Configure Vagrant
vagrant init core http://update.schoolobjects.com/path/to/vms/core.box
vagrant up
- Figure out how to run VirtualBox headless as a service
- Options
- VBoxVmService
VBoxHeadless --startvm <uuid|name>
- Options