This directory contain all resources required to build CentOS virtual machine appliances.
To build an virtual machine image the following tools are needed:
- Packer
- VirtualBox
- Make
To develop and debug ansible roles it recomended to also have vagrant installed
The build consists of the following steps:
- CentOS base installation through the Kickstart file.
- Shell provisoner to bootstrap Ansible
- Ansible provisioner to provision the virtual machine
- Shell provisoner to install VirtualBox guest additions
- Compress post-processor to compress .ova file
- Don't run the build as root user. Ansible will fail with an "You need to be root to perform this command.". The root cause for this is unclear.
To add new guides to the virtual machine simply extend specchio_client_guides
in the following
file. (Also ensure the the file with exact same
name exists in the Guide repository.
Ensure that the dataset is present on the webserver (https://specchio.ch/datasets/). Then
simple add a new entry to specchio_client_datasets
in
file.
For this simply adjust the user
statement in the kickstart file.
For this simply adjust the specchio_database_password
statement in the playbook.yml.