diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-08-20 09:54:01 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-08-20 09:54:01 -0400 |
commit | e94786c066696781a821f5a4bcef3c377e4bc5e5 (patch) | |
tree | ccb3fd025a58c6a0bce15a532f256332e1173f03 /tests | |
parent | 1cb0be4002445e5755ead2423b5a4e9e06f0a3cb (diff) | |
download | virt-manager-e94786c066696781a821f5a4bcef3c377e4bc5e5.tar.gz |
virtinstall: fix regression with --boot and no install method
Anything passed to --boot should imply --install no_install=yes
in the absence of other --install options. This is historically
what we've done but we regressed in 4.1.0
Resolves: https://github.com/virt-manager/virt-manager/issues/426
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cli.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py index 72b78df3..cc1d3da2 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -967,6 +967,7 @@ c.add_valid("--os-variant generic --pxe --ram 16", grep="Requested memory 16 MiB c.add_valid("--os-variant winxp --ram 32 --cdrom %(EXISTIMG1)s", grep="32 MiB is less than the recommended 64 MiB") # Windows. Catch memory warning c.add_valid("--osinfo generic --pxe --autostart") # --autostart flag c.add_valid("--cdrom %(EXISTIMG2)s --os-variant win2k3 --print-step 2") # HVM windows install, print 3rd stage XML +c.add_valid("--memory 512 --osinfo generic --boot cdrom") # --boot XXX should imply --install no_install c.add_compare("--location location=%(TREEDIR)s --initrd-inject virt-install --extra-args ks=file:/virt-install", "initrd-inject") # initrd-inject c.add_compare("--cdrom http://example.com/path/to/some.iso --os-variant detect=yes,require=no", "cdrom-url") c.add_compare("--pxe --print-step all --os-variant none", "simple-pxe") # Diskless PXE install |