I'm wanting to automate an install of Zorin OS (or Linux mint---both Ubuntu derivatives) using a bash script---i.e. a script that will download the ISO image, pre-seed the installer with answers to questions as much as possible, remaster the ISO image and then burn it to USB stick.
I found a GUI tool that will do this called Cubic but just wondering if we can do this all on the command-line instead. So I found some Ubuntu documentation that mentions this is possible with Ubuntu Server but just wondering if you know of a tool that could do this for a desktop OS.
I'm not looking to make a live disc, nor backup a current installation into a restorable ISO. Ideally, I'm seeking only the possibility of:
* Seeding Zorin OS or Linux Mint installer with prefilled answers:
* Keyboard layout = English (Australian)
* Updates and Other Software =
-> [yes] install updates while installing
-> [yes] install 3rd party software for graphics, wi-fi, and multimedia
-> [yes] Don't participate in the census
* Installation type = Erase disk, use LVM and encrypt the disk
* Where are you? Sydney
* Who are you =
-> Your name = Burner
-> Your computer name = burner-pc
-> Username = burner
-> Password = burner
-> [yes] Login automatically
* Adding post-install script to the Linux Mint or Zorin installer, to do some tasks either after the install is done, or on first boot, or on first login (preferably running a non-interactive bash script).
I want to preseed Zorin OS installer so I can quickly deploy burner laptops for workshops. I'll wipe the hard disks after the workshops so installing a new system quickly (and yes, also having the live disc without installing, if possible) is my goal. I don't want to use disk imaging because of the difference in hardware, which is why I've landed at trying to investigate how to preseed an installer. I've seen others use simple-cdd to automate installing a Debian system ([login to view URL]) and it works well, so just wondering if I can achieve something similar with Zorin OS (or other Ubuntu deriviatives like Linux Mint).