diff --git a/dom0/qvm-tools/qvm-prefs b/dom0/qvm-tools/qvm-prefs index 5692bb07..719ff26e 100755 --- a/dom0/qvm-tools/qvm-prefs +++ b/dom0/qvm-tools/qvm-prefs @@ -335,6 +335,14 @@ def set_include_in_backups(vms, vm, args): vm.include_in_backups = bool(eval(args[0].capitalize())) return True +def set_include_in_backups(vms, vm, args): + if len (args) != 1: + print >> sys.stderr, "Missing value (True/False)!" + return False + + vm.include_in_backups = bool(eval(args[0].capitalize())) + return True + properties = { "include_in_backups": set_include_in_backups, "updateable": set_updateable,