# disabled for now, since creating fai nfsroot on my arm machine
# is not working
#/--arch amd64/!s/^(\s*FAI_DEBOOTSTRAP_OPTS=")/\1--arch amd64 /
+/^\s*FAI_ROOTPW/d
+$ a FAI_ROOTPW="$(</q/root/shadow/standard)"
EOF
$sed 's/#LOGUSER/LOGUSER/' /etc/fai/fai.conf