diff --git a/computes/templates/overview.html b/computes/templates/overview.html index 88f6f2f..8b5ff15 100644 --- a/computes/templates/overview.html +++ b/computes/templates/overview.html @@ -49,7 +49,7 @@

{% trans "Connection" %}

{% trans "Details" %}

-
+

{{ hostname }}

{% for arch, hpv in hypervisor.items %} diff --git a/computes/views.py b/computes/views.py index 18ad680..db3887c 100644 --- a/computes/views.py +++ b/computes/views.py @@ -156,7 +156,7 @@ def overview(request, compute_id): hostname, host_arch, host_memory, logical_cpu, model_cpu, uri_conn = conn.get_node_info() hypervisor = conn.hypervisor_type() mem_usage = conn.get_memory_usage() - emulator = conn.emulator() + emulator = conn.get_emulator(host_arch) conn.close() except libvirtError as lib_err: error_messages.append(lib_err) diff --git a/instances/templates/instances.html b/instances/templates/instances.html index 987ad02..28a6d34 100644 --- a/instances/templates/instances.html +++ b/instances/templates/instances.html @@ -10,7 +10,9 @@

{% if request.user.is_superuser %} - {% include 'create_inst_block.html' %} + + + {% endif %} {% if all_host_vms or all_user_vms %}