Skip to content

Commit

Permalink
server: default uefi on dryrun
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dbungert committed Aug 29, 2023
1 parent dd620b4 commit db763c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subiquity/cmd/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def main():
if opts.snaps_from_examples is None:
opts.snaps_from_examples = True
logdir = opts.output_base
if opts.bootloader is None:
opts.bootloader = "uefi"
else:
dr_cfg = None
if opts.socket is None:
Expand Down

0 comments on commit db763c2

Please sign in to comment.