dom0/qvm-remove: with --just-db do not remove any files
This commit is contained in:
parent
1b1c48666f
commit
a63e130ffb
@ -84,7 +84,7 @@ def main():
|
|||||||
if vm.installed_by_rpm:
|
if vm.installed_by_rpm:
|
||||||
if options.verbose:
|
if options.verbose:
|
||||||
print >> sys.stderr, "--> VM installed by RPM, leaving all the files on disk"
|
print >> sys.stderr, "--> VM installed by RPM, leaving all the files on disk"
|
||||||
else:
|
elif not options.remove_from_db_only:
|
||||||
if options.verbose:
|
if options.verbose:
|
||||||
print "--> Removing all the files on disk..."
|
print "--> Removing all the files on disk..."
|
||||||
#TODO: ask for confirmation, perhaps?
|
#TODO: ask for confirmation, perhaps?
|
||||||
|
Loading…
Reference in New Issue
Block a user