add zapCreateMount script for idempodents install from iso/kexec

This commit is contained in:
lassulus 2022-11-23 13:28:52 +01:00
parent 417ad31ca5
commit 9cf4f170ae
4 changed files with 28 additions and 2 deletions

4
disko
View file

@ -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