Skip to content

Commit

Permalink
kvm-test: add options for server-force-no-gpgpu
Browse files Browse the repository at this point in the history
Add option to pass "subiquity-server-force-no-gpgpu" on the kernel
command line.
  • Loading branch information
Chris-Peterson444 committed Jul 17, 2024
1 parent 37dbb21 commit f9e9cbc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/kvm-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ def load_config(self):
help='load predefined memory, disk size and qemu options')
parser.add_argument('--fake-pci-devices', action='store_true', default=False,
help='trick ubuntu-drivers into installing drivers')
parser.add_argument('--server-force-no-gpgpu', action='store_true', default=False,
help=('Allows for broadcom driver install on Server but only'
' during online install'),
)


cc_group = parser.add_mutually_exclusive_group()
Expand Down Expand Up @@ -595,6 +599,9 @@ def install(ctx):
if ctx.args.fake_pci_devices:
appends.append('subiquity-fake-pci-devices')

if ctx.args.server_force_no_gpgpu:
appends.append('subiquity-server-force-no-gpgpu')

if not ctx.args.no_disk:
match ctx.args.disk_interface:
case 'virtio':
Expand Down

0 comments on commit f9e9cbc

Please sign in to comment.