| .gitignore | ||
| create.sh | ||
| creator_exports.sh | ||
| creator_functions.sh | ||
| init_functions.sh | ||
| init.sh | ||
| install.sh | ||
| README.md | ||
You will need a working OS template to work with this project.
Easy solution create an OS template:
- mount the archlinux installation .iso in a VM
- run
pacstrap /mnt base linux openssh - run
ln -s /usr/lib/systemd/system/sshd.service /mnt/etc/systemd/system/multi-user.target.wants/sshd.service - run
fsarchiver savedir /tmp/os_template.fsa /mnt - download
/tmp/os_template.fsa - upload the
os_template.fsaanywhere so that it can be downloaded with wget
Some notes on the above:
- base and linux are the only packages to run a VM
- you will need sshd to operate the VM, so create the symlink to make it start with the OS
- fsarchiver is very good at preserving OS data
- the initrd will dump that template to the encrypted disk
- the same procedure can be used with any distribution, but we didn't test that yet