On this page, we will create a virtual machine with Packer and run it with VirtualBox. Packer is a tool to automate virtual machines creation. After the creation, the VM is ready to be imported into VirtualBox.
Install Packer
Install Packer from the Download Page.
Install VirtualBox
Install VirtualBox from the VirtualBox Download Page.
Download goSDN repository
Go into the directory where you want to have this repository.
Get it with SSH:
git clone git@code.fbi.h-da.de:danet/gosdn.git
or with HTTPS:
git clone https://code.fbi.h-da.de/danet/gosdn.git
You can find the repository with this link:
https://code.fbi.h-da.de/danet/gosdn
Build VM
Go to the directory and build the virtual machine
cd gosdn/lab-vm/vm-with-packer
./pipeline.sh
Access the VM
Open VirtualBox and press CTRL-I and a new window will open. In this window you will add your previously created vm from your filesystem, press next and in the next step import the vm.