Go to file
2020-08-07 17:11:40 -04:00
files Fix hostnames for install 2020-08-07 16:41:10 -04:00
.gitignore Fix qemu options so a full install really works 2016-06-28 16:14:01 -04:00
backup.sh Add scripts to backup/restore FS directory 2016-07-01 16:17:29 -04:00
buildiso.sh Start porting to Ubuntu 20.04.1 2020-08-07 12:29:31 -04:00
cleanup.sh Fix some deficiencies in enter.sh 2016-06-25 18:46:02 -04:00
config Start porting to Ubuntu 20.04.1 2020-08-07 12:29:31 -04:00
config-20.04.1 Start porting to Ubuntu 20.04.1 2020-08-07 12:29:31 -04:00
customize.sh Fix hostname resolution in systemd container 2020-08-07 15:14:47 -04:00
enter.sh Use UID in systemd container name 2020-08-07 17:11:40 -04:00
extractiso.sh Grab ISO from parent directory if it's there 2016-07-03 00:23:49 -04:00
full-rebuild.sh Fix full-rebuild.sh 2016-06-27 16:52:34 -04:00
README.md Start porting to Ubuntu 20.04.1 2020-08-07 12:29:31 -04:00
restore.sh Add scripts to backup/restore FS directory 2016-07-01 16:17:29 -04:00
run.sh Fix qemu options for better performance 2020-08-07 16:09:31 -04:00

Nilmbuntu

Tools to customize an Ubuntu Live CD. Many parts of this will end up being version-specific. The host machine must be running systemd, since the image is executed inside a systemd-nspawn container.

Set up host machine:

sudo apt install squashfs-tools xorriso isolinux systemd-container iptables
sudo systemctl start systemd-networkd

Choose a config:

export BUILD_CONFIG=20.04.1

Download and extract the original ISO:

./extractiso.sh

Apply customizations, both to the outer ISO and the inner image. This will also run customizer-inner.sh inside a container:

./customize.sh

(Optional) Run and enter a shell in the container, for manual customization:

./enter.sh

Build the new ISO:

./buildiso.sh

Boot the ISO in QEMU with a blank HDD, to test and install:

./run.sh -c

Boot QEMU with the same HDD image as above, to test an "installed" system:

./run.sh -d

Remove everything but the ISOs:

./cleanup.sh