diff --git a/qvm-tools/qvm-prefs b/qvm-tools/qvm-prefs index 78d09b87..3ef77c6d 100755 --- a/qvm-tools/qvm-prefs +++ b/qvm-tools/qvm-prefs @@ -128,7 +128,7 @@ def do_get(vms, vm, prop): if getattr(vm, prop, None) is None: # not set or set to None return - if prop in ['template', 'netvm', 'dispvm_netvm']: + if prop in ['template', 'netvm', 'dispvm_netvm', 'label']: print getattr(vm, prop).name else: print str(getattr(vm, prop))