Go to file
2024-11-12 18:34:32 +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 download compiled guest_api instead of building 2024-11-12 17:11:07 +02:00
creator_functions.sh download compiled guest_api instead of building 2024-11-12 17:11:07 +02:00
init_functions.sh allow hot key update even if install_url exists 2024-11-12 00:44:42 +02:00
init.sh allow hot key update even if install_url exists 2024-11-12 00:44:42 +02:00
install.sh adding support for ipv6 to the install script 2024-11-12 18:34:32 +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