Commit 8a12ce45 authored by Iustin Pop's avatar Iustin Pop
Browse files

Show cluster hypervisor for gnt-cluster info

Author: schreiberal
Reviewed-by: iustinp
parent 917f91d5
......@@ -1999,6 +1999,7 @@ class LUQueryClusterInfo(NoHooksLU):
"export_version": constants.EXPORT_VERSION,
"master": self.sstore.GetMasterNode(),
"architecture": (platform.architecture()[0], platform.machine()),
"hypervisor_type": self.sstore.GetHypervisorType(),
return result
......@@ -141,6 +141,8 @@ def ShowClusterConfig(opts, args):
print ("Architecture (this node): %s (%s)" %
(result["architecture"][0], result["architecture"][1]))
print ("Cluster hypervisor: %s" % result["hypervisor_type"])
return 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment