We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e516d37 commit aaef92aCopy full SHA for aaef92a
src/nixos-anywhere.sh
@@ -423,6 +423,7 @@ export PATH=\$PATH:/run/current-system/sw/bin
423
mkdir -p /mnt/tmp
424
chmod 777 /mnt/tmp
425
nixos-install --no-root-passwd --no-channel-copy --system "$nixos_system"
426
+zpool export -a || : # we always want to export the zfs pools so people can boot from it without force import
427
# We will reboot in background so we can cleanly finish the script before the hosts go down.
428
# This makes integration into scripts easier
429
nohup bash -c '${maybe_reboot}' >/dev/null &
0 commit comments