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:
parent
dd620b40b3
commit
db763c2a4e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue