diff --git a/instances/templates/instances.html b/instances/templates/instances.html index fbee139..f87d582 100644 --- a/instances/templates/instances.html +++ b/instances/templates/instances.html @@ -51,7 +51,6 @@ {% for host, inst in all_host_vms.items %} - {{ forloop.counter }} {{ host.1 }} diff --git a/vrtManager/hostdetails.py b/vrtManager/hostdetails.py index ea35cea..a45d24f 100644 --- a/vrtManager/hostdetails.py +++ b/vrtManager/hostdetails.py @@ -7,7 +7,7 @@ def cpu_version(doc): for info in doc.xpath('/sysinfo/processor/entry'): elem = info.xpath('@name')[0] if elem == 'version': - return info + return info.text return 'Unknown'