This repository is used for creating an automated installer for Ubuntu Desktop
using autoinstall. See autoinstall.yaml for most details, it is heavily
commented. The other parts of this repo are just simplifying generating the
ISO file and testing it.
Files are as follows:
- autoinstall.yaml: The actual autoinstall commands/file
- gen_disk.sh: Generates an ISO, assuming xorriso is installed on your system
- gen_disk_docker.sh: Uses the container built by
build_docker - build_docker.sh: builds the docker image used by
gen_disk_docker.sh - qemu.sh: Sets up and runs Qemu with the installer, including TPM and EFI
Assuming you don't have xorriso installed, run the following:
# Download the image you want
wget <address of the Ubuntu version you want> -O ubuntu.iso
./build_docker.sh # Builds docker image
./gen_disk_docker.sh # Builds autoinstall.iso
./qemu.sh # Run qemu to test the installerIf you have xorriso natively, you can skip the docker step, and just run:
# Download the image you want
wget <address of the Ubuntu version you want> -O ubuntu.iso
./gen_disk.sh # Builds autoinstall.iso
./qemu.sh # Run qemu to test the installerqemu.sh will make a qemu_test folder and files inside
for the TPM, EFI vars and installed image. You can safely
clean this up by deleting the directory with rm -r qemu_test.