mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-07-14 19:40:42 +03:00
WIP: debug tmpfs
This commit is contained in:
parent
4471f09b22
commit
dc817149fe
@ -315,7 +315,8 @@ ssh_ <<SSH
|
||||
set -efu ${enable_debug}
|
||||
# needed for installation if initrd-secrets are used
|
||||
mkdir -m777 -p /mnt/tmp
|
||||
nixos-install --no-root-passwd --no-channel-copy --system "$nixos_system"
|
||||
nixos-install --no-root-passwd --no-channel-copy --no-bootloader --system "$nixos_system"
|
||||
nixos-enter --root /mnt -- /nix/var/nix/profiles/system/bin/switch-to-configuration boot --install-bootloader
|
||||
# We will reboot in background so we can cleanly finish the script before the hosts go down.
|
||||
# This makes integration into scripts easier
|
||||
nohup bash -c '${maybe_reboot}' >/dev/null &
|
||||
|
Loading…
Reference in New Issue
Block a user