The templates and related scripts are used for packer to build images. The installation of packer is available on downloadlink.
Currently the templates for virtualbox and vmware are available, both are based on Ubuntu16.04 LTS.
git clone https://github.com/InfraSIM/tools.git
cd tools/packer
packer build infrasim-box.json
The output file is named infrasim-compute.box.
git clone https://github.com/InfraSIM/tools.git
cd tools/packer
packer build infrasim-vmware.json
ovftool vmware-infrasim/packer-vmware-iso.vmx infrasim-compute.ova
The output file is named infrasim-compute.ova.
git clone https://github.com/InfraSIM/tools.git
cd tools/packer
packer build infrasim-qemu.json
The output file is named qemu-ubuntu16.04-image in folder packer/qemu-image.
The OVA file can be deployed in ESXi host.
- Vagrantfile_infrasim is the configuration to setup an infraSIM virtual machine. Vagrantfile_rackhd_infrasim is used to configure a RackHD and an InfraSIM in virtualbox. Remember to rename the configuration file to "Vagrantfile" before using it.
- make sure the Vagrantfile and box file are in the same folder.
- vagrant box add --name infrasim-compute infrasim-compute.box (use --force option if you already added a previous version before).
- vagrant up
- vagrant ssh