Awesome
Vagrantfile - FACTbox
This repo provides a Vagrantfile to simply test and to evaluate the FACT framework.
The box is made to boot in the background and forwards the webinterface to the local machine. Just visit the following address to use FACT.
It is not required to access the box after boot.
Vagrant init / Vagrant up
I uploaded a Vagrant box into the Vagrant Cloud, so a ready-to-run VM can simply be downloaded with the following commands:
$ sudo apt-get install vagrant virtualbox
$ vagrant init botlabs-dev/FACTbox
$ vagrant up
System requirements
Please keep in mind that FACT requires a lot of system resources. Therefore, the Vagrant VM will be build with the following specs:
- vb.cpus = 4
- vb.memory = "12288"
- config.disksize.size = "100GB"
Also, since the FACT_box freshly installs FACT, the whole setup needs roughly 1 hour to build. Use this time and call your mom.
Installation steps
$ sudo apt-get install vagrant virtualbox
$ vagrant plugin install vagrant-reload vagrant-disksize # reboot vm and resize disk
$ git clone git@github.com:botlabsDev/FACT_box.git
$ cd FACTbox
$ vagrant up
Troubleshooting
The following section lists known problems and fixes.
ssh timeouts by provisioning
Sometimes the system provisioning stops after the required reboot. Rerun the commandvagrant reload
should fix this problem.