Comment 32 for bug 2048473

Revision history for this message
Koen Roggemans (koen-roggemans) wrote :

Since there is AFAIK no time frame given for this to land. Inspired by #12 I found a few working workarounds.
1. using cubic / autoinstall.yaml.
- install cubic https://github.com/PJ-Singh-001/Cubic/wiki/Install-Cubic
- download the original 24.04 installer
- open it with cubic
- add in the root folder of the installed system a file /autoinstall.yaml, containing
autoinstall:
  version: 1
  user-data:
    users: ['']
  shutdown: poweroff
(mind the correct number of spaces - it's yaml)
- let cubic build your installer.
-installing this package will provide you with an ubuntu 24.04 without a useraccount. This will start the gnome oem installer to create a user. Since I need this to work for young students (11+), I add some lanugage and keyboard settings in the yaml
  keyboard:
    layout: be
  timezone: geoip
  locale: nl_BE

After the installer has run, the system powers off, so you can FOG, partclone, dd it to other (probably best as similar as possible) machines.

2. using the unaltered installer
- run the normal installer.
- after installation, add in /etc/gdm3/custom.conf InitialSetupEnable=True in the [daemon] section
- remove the users you have used to install the system. I found that a hard part - I had to create a chroot environment to be able to delete it. May be someone has a better idea.
- shutdown the system.
- Copy de system to your other machines.
When booting, a new user is created, using the initial settings like the keyboard from the first created user, which is convenient.