summaryrefslogtreecommitdiff
path: root/virtinst/virtinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'virtinst/virtinstall.py')
-rw-r--r--virtinst/virtinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtinst/virtinstall.py b/virtinst/virtinstall.py
index 8260628d..8fcc8ce1 100644
--- a/virtinst/virtinstall.py
+++ b/virtinst/virtinstall.py
@@ -412,7 +412,7 @@ def build_installer(options, guest, installdata):
extra_args = [installdata.kernel_args]
if options.unattended and options.cloud_init:
- fail("--unattended and --cloud-init can not be specified together.")
+ cli.fail_conflicting("--unattended", "--cloud-init")
if options.unattended:
unattended_data = cli.parse_unattended(options.unattended)