server: default uefi on dryrun

Detecting the bootloader is an obvious choice for real installs, but
is a source of glitches in CI.  Default to UEFI, and if tests want
something else they should pass a specific --bootloader.
This commit is contained in:
Dan Bungert 2023-08-29 09:10:18 -06:00
parent dd620b40b3
commit db763c2a4e
1 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,8 @@ def main():
if opts.snaps_from_examples is None: if opts.snaps_from_examples is None:
opts.snaps_from_examples = True opts.snaps_from_examples = True
logdir = opts.output_base logdir = opts.output_base
if opts.bootloader is None:
opts.bootloader = "uefi"
else: else:
dr_cfg = None dr_cfg = None
if opts.socket is None: if opts.socket is None: