summaryrefslogtreecommitdiffstats
path: root/disko
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-11-23 13:28:52 +0100
committerlassulus <lassulus@lassul.us>2022-11-25 17:36:40 +0100
commit9cf4f170aefaf85d01cb1710c192f9f5b56ab694 (patch)
treedbbd68657463767ef2b7f273849d87c37ccbf9a0 /disko
parent417ad31ca5c149ff85bd5a4f61c81253e4906b65 (diff)
add zapCreateMount script for idempodents install from iso/kexec
Diffstat (limited to 'disko')
-rwxr-xr-xdisko4
1 files changed, 2 insertions, 2 deletions
diff --git a/disko b/disko
index d641304..a48907f 100755
--- a/disko
+++ b/disko
@@ -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