Add LUKS wait seconds flag to build-luks task

This commit is contained in:
Philip Henning 2026-02-06 08:45:41 +01:00
parent 305350424f
commit 8949540fd5

View file

@ -30,9 +30,10 @@ mise run lint ${usage_dir?}
[tasks.build-luks] [tasks.build-luks]
usage = ''' usage = '''
arg "<dir>" help="Directory containing the Packer template to build e.g. debian/13-trixie" arg "<dir>" help="Directory containing the Packer template to build e.g. debian/13-trixie"
flag "--luks-wait-seconds <seconds>" help="Seconds to wait for the LUKS password prompt after installation before sending the password" default="45"
''' '''
run = ''' run = '''
_scripts/unlock-luks-after-install.py -t ${usage_dir?} _scripts/unlock-luks-after-install.py -t ${usage_dir?} --luks-wait-seconds ${usage_luks_wait_seconds?}
''' '''
[tasks.init] [tasks.init]