mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
add zapCreateMount script for idempodents install from iso/kexec
This commit is contained in:
1 parent
417ad31ca5
commit
9cf4f170ae
4 files changed
+28
-2
No files matched your search
@@ -87,8 +87,8 @@ while [[ $# -gt 0 ]]; do
|
||||
shift
|
||||
done
|
||||
|
||||
if ! ([[ $mode = "create" ]] || [[ $mode = "mount" ]]); then
|
||||
abort "mode must be either create or mount"
|
||||
if ! ([[ $mode = "create" ]] || [[ $mode = "mount" ]] || [[ $mode = "zap_create_mount" ]]); then
|
||||
abort "mode must be either create, mount or zap_create_mount"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${flake+x}" ]]; then
|
||||
|
||||
Reference in new issue
Block a user