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 51d347d commit 05d7b79Copy full SHA for 05d7b79
src/nixos-anywhere.sh
@@ -600,6 +600,7 @@ if [[ ${phases[reboot]} == 1 ]]; then
600
if command -v zpool >/dev/null && [ "\$(zpool list)" != "no pools available" ]; then
601
# we always want to export the zfs pools so people can boot from it without force import
602
umount -Rv /mnt/
603
+ swapoff -a
604
zpool export -a || true
605
fi
606
nohup sh -c 'sleep 6 && reboot' >/dev/null &
0 commit comments