mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
mode destroy: Add confirmation dialogue
The new confirmation dialogue is only shown for the new outputs introduced in the previous commits. The existing outputs do not change behavior to keep backwards compatibility. Fixes #725
This commit is contained in:
1 parent
daca7be309
commit
94bc0f5bb0
5 files changed
+76
-10
No files matched your search
+2
-2
@@ -263,7 +263,7 @@ let
|
||||
machine.succeed("${lib.getExe tsp-format}")
|
||||
machine.succeed("${lib.getExe tsp-mount}")
|
||||
machine.succeed("${lib.getExe tsp-mount}") # verify that mount is idempotent
|
||||
machine.succeed("${lib.getExe tsp-disko}") # verify that we can destroy and recreate
|
||||
machine.succeed("${lib.getExe tsp-disko} --yes-wipe-all-disks") # verify that we can destroy and recreate
|
||||
machine.succeed("mkdir -p /mnt/home")
|
||||
machine.succeed("touch /mnt/home/testfile")
|
||||
machine.succeed("${lib.getExe tsp-format}") # verify that format is idempotent
|
||||
@@ -274,7 +274,7 @@ let
|
||||
machine.succeed("${lib.getExe nodes.machine.system.build.format}")
|
||||
machine.succeed("${lib.getExe nodes.machine.system.build.mount}")
|
||||
machine.succeed("${lib.getExe nodes.machine.system.build.mount}") # verify that mount is idempotent
|
||||
machine.succeed("${lib.getExe nodes.machine.system.build.destroyFormatMount}") # verify that we can destroy and recreate again
|
||||
machine.succeed("${lib.getExe nodes.machine.system.build.destroyFormatMount} --yes-wipe-all-disks") # verify that we can destroy and recreate again
|
||||
machine.succeed("mkdir -p /mnt/home")
|
||||
machine.succeed("touch /mnt/home/testfile")
|
||||
machine.succeed("${lib.getExe nodes.machine.system.build.format}") # verify that format is idempotent
|
||||
|
||||
Reference in new issue
Block a user