From 4913fc4fbc06764af2db094f9bc420de350749ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 16 Sep 2014 01:20:06 +0200 Subject: [PATCH] qvm-tools: improve messages for qvm-create --root-{move,copy} There was no separate message, so it looked like registering appmenus takes a long time. --- qvm-tools/qvm-create | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qvm-tools/qvm-create b/qvm-tools/qvm-create index 26410900..fe75bc66 100755 --- a/qvm-tools/qvm-create +++ b/qvm-tools/qvm-create @@ -182,9 +182,13 @@ def main(): try: vm.create_on_disk(verbose=options.verbose, source_template=template) if options.root_move: + if (options.verbose): + print "--> Replacing root.img with provided file" os.unlink(vm.root_img) os.rename(options.root_move, vm.root_img) elif options.root_copy: + if (options.verbose): + print "--> Replacing root.img with provided file" os.unlink(vm.root_img) # use "cp" to preserve sparse file subprocess.check_call(["cp", options.root_copy, vm.root_img])