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 c1ebc5f commit 3e1187fCopy full SHA for 3e1187f
src/nixos-anywhere.sh
@@ -314,7 +314,8 @@ fi
314
ssh_ <<SSH
315
set -efu ${enable_debug}
316
# needed for installation if initrd-secrets are used
317
-mkdir -m777 -p /mnt/tmp
+mkdir -p /mnt/tmp
318
+chmod 777 /mnt/tmp
319
nixos-install --no-root-passwd --no-channel-copy --system "$nixos_system"
320
# We will reboot in background so we can cleanly finish the script before the hosts go down.
321
# This makes integration into scripts easier
0 commit comments