diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-08-21 16:47:26 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2022-08-21 16:47:26 -0400 |
commit | 999ccb85e3e4189386786256cdf70cf5238cf785 (patch) | |
tree | a17271c717d1da81dee79482fdef350767da72b2 /tests | |
parent | b0d0516736320315a70f74aff3759fb35dd35d9d (diff) | |
download | virt-manager-999ccb85e3e4189386786256cdf70cf5238cf785.tar.gz |
virt-install: --unattended and --cloud-init conflict
Make it an explicit error, otherwise unattended is preferred and
cloud-init is ignored
https://bugzilla.redhat.com/show_bug.cgi?id=2117157
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 ef27276a..cbeebd46 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1116,6 +1116,7 @@ c.add_invalid("--disk none --boot network --machine foobar", grep="domain type N c.add_invalid("--nodisks --boot network --arch mips --virt-type kvm", grep="any virtualization options for architecture 'mips'") c.add_invalid("--nodisks --boot network --paravirt --arch mips", grep=" 'xen' for architecture 'mips'") c.add_invalid("--osinfo generic --launchSecurity sev --connect " + utils.URIs.kvm_amd_sev, grep="SEV launch security requires a Q35 UEFI machine") +c.add_invalid("--disk none --cloud-init --unattended --install fedora30", grep="--unattended and --cloud-init can not") |