From 898857277643290bba6a94411dad984a6f547d2f Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 3 Nov 2020 13:01:39 -0500 Subject: [PATCH] virtclone: Drop --print-xml special --auto-clone behavior For unclear reasons we allowed --print-xml without --file or --auto-clone, like is required for a traditional clone, which can lead to some weird behavior. Signed-off-by: Cole Robinson --- virtinst/virtclone.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/virtinst/virtclone.py b/virtinst/virtclone.py index a888d55d4..0e006eb25 100644 --- a/virtinst/virtclone.py +++ b/virtinst/virtclone.py @@ -146,8 +146,7 @@ def main(conn=None): conn = cli.getConnection(options.connect, conn=conn) if (options.new_diskfile is None and - options.auto_clone is False and - options.xmlonly is False): + options.auto_clone is False): fail(_("Either --auto-clone or --file is required," " use '--auto-clone or --file' and try again."))