I’m experimenting with MicroOS at the moment (seems great for a low maintenance container host) - many thanks for packaging incus.
I’ve been building a custom iso with kiwi-ng inside a privileged tumbleweed podman container. Mounting a zram device to the build directory makes builds complete in around 4 mins (& cleaning the build directory very quick) - see my notes for kpartx & how to create a build container at that link.
-
In my image I use
systemddaemons &busyboxapplets as much as possible (so breakage should be zero even with a rolling release) -
To use encrypted passwords in image configuration:
SALT=$(LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c50)
openssl passwd -1 -salt $SALT YOUR_PASSWORD
- just change the OBS repo in the example to an
httporhttpsurl
In your build environment setup the kiwi-ng repo & install the depends:
zypper in git kiwi-systemdeps-iso-media kiwi-systemdeps-bootloaders kiwi-systemdeps-disk-images
- Building the
oemimage type generates aqemuimage & anisoimage:
sudo kiwi-ng --profile Standard system build \
--description $DEVOPS/kiwi/build-tests/x86/tumbleweed/test-image-MicroOS \
--target-dir $DEVOPS
- if testing images with
qemu/ Virtual Machine Manager - remove theisoimage in thevmconfiguration / apply & add it back again / apply - after each build -libvirtseems to keep the oldisoin memory (but possibly this is due to my use ofzram)