X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=dsfull;h=91ab8ecfcb94b8427d62dc03f96e6fa767f46c79;hp=cdb840b9272779b9abf378213ef5a5ea773b06dc;hb=HEAD;hpb=78a1427fc167ccee73d448054a9c40c19d737ed3 diff --git a/dsfull b/dsfull index cdb840b..709ddab 100755 --- a/dsfull +++ b/dsfull @@ -70,7 +70,7 @@ if $kexec; then myfai-chboot $host live-kexec $host ||: else - errcatch-cleanup() { pxe-server; } + err-cleanup() { pxe-server; } pxe-server $host fai if $reboot; then @@ -79,7 +79,7 @@ else fi pxe-server -a - unset errcatch-cleanup + unset err-cleanup fi error=true @@ -98,8 +98,7 @@ fi 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