Vagrant + Ansible config for provisioning a virtual machine.
The idea is to do an automated provision a VM using ansible and vagrant, then use that VM as a base to create an ISO using a customized version of the sadly now quasi-defunct remastersys.
- Install the dependencies:
- Vagrant
- Virtualbox
- Ansible
- Clone this repo
- (optional) Modify
data/ansible/config.yml
to enable and disable modules - In the repo dir, run
vagrant up
- Note: This starts with a very basic Ubuntu VM and then installs a bunch of stuff e.g. Gnome, so expect the initial provisioning to take a long time!
- Connect to the VM with
vagrant ssh
- Run
sudo /vagrant/data/build/remastersys/bin/remastersys backup
If all goes well, a new ISO image will be created in /vagrant/data/build
(aka *repo_dir*/data/build
on the host system).