Go to file
2024-11-10 04:19:47 +02:00
.gitignore created install script 2024-11-07 01:01:08 +02:00
create.sh encryption and decryption works 2024-11-09 22:41:45 +02:00
creator_exports.sh also add kernel modules 2024-11-06 05:44:54 +02:00
creator_functions.sh added support to inject ssh key via guest_api 2024-11-10 01:15:40 +02:00
init_functions.sh modprobe after you wait a bit 2024-11-10 04:19:47 +02:00
init.sh modprobe after you wait a bit 2024-11-10 04:19:47 +02:00
install.sh fixed issue with dirs 2024-11-07 03:25:53 +02:00
README.md add readme on how to create OS template 2024-11-09 21:01:30 +02:00

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.fsa anywhere 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