This page describes the steps for creating a Windows Server 2012 virtualbox image for use with vagrant.The end result is a minimal virtualbox image with Windows Server installed and configured such that vagrant rdp works as expected. Vagrant uses two protocols to interact with the running Windows VM. It uses winrm on port 5985 to control the box programmatically (e.g., when you rename the box.
Sample builder to create vagrant vEOS boxes from the Aboot.iso and vEOS-lab.iso files available to registered users at Arista software downloads.
Requirements
![From From](http://aruizca.com/content/images/virtualbox-settings.png)
- Registration at https://www.arista.com/
- Booting the box requires https://www.VagrantUp.com/
Usage
To build a vagrant box for Arista vEOS, first, you need to download 2 files from http://arista.com/ which requires registration.
- Go to http://www.arista.com/
- Login
- Click on Software Downloads (bottom left)
- Expand vEOS
- Download Aboot-*.iso (example: Aboot-veos-2.1.0.iso)
- Download the vmdk for the desired vEOS version (example: vEOS-lab.4.15.0F.vmdk)
- Save the 2 files to the packer/source/ directory as Aboot-vEOS.iso and vEOS.vmdk, respectively.
- cd packer/
- Build the basebox:
packer build -var “version=4.15.0F” vEOS-4-i386.json
- The completed basebox will be in ../builds/
Booting your first vEOS box
The following commands will add your new basebox and display your availablevagrant boxes, then create an initial environment, boot the VM, login to thebash shell, enter the EOS CLI, display the EOS version, exit, and destroy theVM. You can customize how your vEOS node starts up by editing the Vagrantfilecreated by
vagrant init
.Create a new environment and define which box you wish to use
Optionally, add any additional configuration to your Vagrantfile, then ‘up’ your VM and login
Logout and destroy the VM (All changes since boot will be lost)
Adding additional configuration to the Vagrantfile
Support
The contents of this repository are provided as-is with no warranty. However, as I use this, myself, I have considerable interest in ensuring it works reliably and stays up to date. Community support is encouraged.