myfai-chboot $host
live-kexec $host ||:
else
- errcatch-cleanup() { pxe-server; }
+ err-cleanup() { pxe-server; }
pxe-server $host fai
if $reboot; then
fi
pxe-server -a
- unset errcatch-cleanup
+ unset err-cleanup
fi
error=true
while [[ $(ser is-active btrbk.service) == active ]]; do
sleep 5
done
+# if we partitioned, we do this:
+#btrbk-run -t $host archive
btrbk-run -t $host
-#ssh $host /a/bin/distro-setup/distro-begin
-# this should be done instead of distro-begin, but
-# keeping it to 2 steps for now
dsremote $host