dom0/backup-restore: display netvm of proxyvm

This commit is contained in:
Marek Marczykowski 2012-04-20 02:56:09 +02:00
parent c46edd9fb1
commit 1b966eae80

View File

@ -899,7 +899,7 @@ def backup_restore_print_summary(restore_info, print_callback = print_stdout):
"template": {"func": "'n/a' if vm.is_template() or vm.template is None else\
vm_info['template']"},
"netvm": {"func": "'n/a' if vm.is_netvm() else\
"netvm": {"func": "'n/a' if vm.is_netvm() and not vm.is_proxyvm() else\
('*' if vm.uses_default_netvm else '') +\
vm_info['netvm'] if vm.netvm is not None else '-'"},