Before doing a fai install, you will need to populate /q/root/luks and
/q/root/shadow, see their references. You might also want to copy
existing /etc/ssh/*host* to
-/p/c/machine_specific/HOST/filesystem/etc/ssh.
+/p/c/machine_specific/HOST/filesystem/etc/ssh
host-* luks keyfiles generated like:
head -c 2048 /dev/urandom | od | s dd of=/q/root/luks/host-demohost
# Replacing a raid 10 disk
-# i expect better results with newer kernel and btrfs progs than the default stretch
-fai-server buster
-
pxe-server -S HOST fai
# btrfs replace or delete. prefer replace. to setup partitions on replacement drive:
# Expected output in fai logs
+On focal,
+fai.log:updatebase.UBUNTU FAILED with exit code 1.
+the real error is dpkg-reconfigure locales, seems to be related
+to a workaround for < 20.04, relevant comment:
+# in case the locales are already included inside the base file (Ubuntu)
+in config/hooks/instsoft.DEBIAN
+
+
For flidas, when installing systemd, this error happens, and it's
a superflous upstream bug based on reading the post install script:
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
Operation failed: No such file or directory
+On nabia/newer, python is removed, now its python3,
+and its easier to just let the package get removed than
+do host class package config.
+fai.log:WARNING: These unknown packages are removed from the installation list: python python-minimal
+
+Similar to python, linux-image-amd64 is the debian package name
+for the kernel, linux-image-generic is for ubuntu, but the
+DEBIAN class is defined on ubuntu and its easier to just let
+the package get removed with this warning:
+fai.log:WARNING: These unknown packages are removed from the installation list: linux-image-amd64
+Also, cryptsetup-initramfs is new to buster/nabia, it gets removed
+on earlier versions.
+
# linode notes