use one called 5-multi-boot, which you can see example of in
fai/config/class/50-host-classes.
+Before doing a fai install, you will need to populate /q/root/luks and
+/q/root/shadow, see their references.
+
All scripts meant to be used directly are listed here:
cp -rT $src $dst
fi
-if ifclass VOL_STRETCH_BOOTSTRAP; then
- exit 0
-fi
-
TPW=/q/root/shadow/traci-simple
if ifclass tp; then
ROOTPW=/q/root/shadow/standard
}
chpw root "$ROOTPW"
-# 9 = user already exists. so we are idempotent.
+
+# only setup root pass for bootstrap vol
+if ifclass VOL_STRETCH_BOOTSTRAP; then
+ exit 0
+fi
+
+
+# return of 9 = user already exists. so we are idempotent.
au iank
chpw iank "$ROOTPW"
esac
done
-# install all ssds, or if there are none, all hdds
+# install all ssds, or if there are none, all hdds.
+# Note, usb flash disks are seen as rotational, which is
+# very odd, but convenient for ignoring them here.
+# TODO: find a reliable way to ignore them.
if ! ifclass ROTATIONAL && (( ${#ssds[@]} > 0 )); then
short_devs=( ${ssds[@]} )
else
You can copy this to a http server, then wget -O- url|sudo bash
curl is sometimes not preinstalled on a live cd.
-This has been tested on trisquel belenos and ubuntu xenial.
+This has been tested on trisquel belenos and ubuntu xenial & 18.10.
+With 18.10 on an x200, kexec was unreliable, resulting in freezes and
+kernel panics.
If the screen just sits in a weird color inverted, corrupted looking state,
it's probably nothing wrong with the computer, but a problem
-h|--help Print help and exit.
-Note: Uses GNU getopt options parsing style
+Note: Uses GNU getopt options parsing style.
+
+Usage of mk-basefile:
+
EOF
$script_dir/fai/config/basefiles/mk-basefile -h
exit $1