{% extends 'generic/object.html' %} {% load i18n %} {% block content %}
{% trans "Proxmox VM Config" %}
{% if detail %} {% else %}
{% trans "VM Type" %}{{ vm_type|upper }}
{% trans "Node" %}{{ node }}
{% trans "VMID" %}{{ vmid }}
{% trans "Name" %}{{ normalized.name }}
{% trans "CPU Cores" %}{{ normalized.cores|default:"—" }}
{% trans "CPU Sockets" %}{{ normalized.sockets|default:"—" }}
{% trans "Memory" %}{{ normalized.memory }}
{% trans "OS Type" %}{{ normalized.ostype }}
{% trans "Boot Order" %}{{ normalized.boot }}
{% trans "Startup" %}{{ normalized.startup }}
{% trans "Search Domain" %}{{ normalized.searchdomain }}
{% trans "Start at Boot" %} {% if normalized.start_at_boot is True %} {% trans "Enabled" %} {% elif normalized.start_at_boot is False %} {% trans "Disabled" %} {% else %} {% endif %}
{% trans "Guest Agent" %} {% if normalized.qemu_agent is True %} {% trans "Enabled" %} {% elif normalized.qemu_agent is False %} {% trans "Disabled" %} {% else %} {% endif %}
{% trans "Tags" %} {% if normalized.tags_list %} {% for tag in normalized.tags_list %}{{ tag.name }}{% endfor %} {% else %} {{ normalized.tags }} {% endif %}
{% trans "Description" %}{{ normalized.description }}
{% endif %}
{% if not detail %}
{% trans "Disk Devices" %}
{% for key, value in config_sections.disks %} {% empty %} {% endfor %}
{% trans "Key" %}{% trans "Value" %}
{{ key }}{{ value }}
{% trans "No disk entries." %}
{% trans "Network Devices" %}
{% for key, value in config_sections.networks %} {% empty %} {% endfor %}
{% trans "Key" %}{% trans "Value" %}
{{ key }}{{ value }}
{% trans "No network entries." %}
{% endif %}
{% trans "Advanced Raw Config" %}
{% if detail %}

{% trans "No config available." %}

{% else %} {% for key, value in config_sections.advanced %} {% empty %} {% endfor %}
{% trans "Key" %}{% trans "Value" %}
{{ key }}{{ value }}
{% trans "No extra config keys." %}
{% endif %}
{% if vm_type == "qemu" %}
{% trans "QEMU Firewall (Raw)" %}
{% if firewall_payload_json %}
{{ firewall_payload_json }}
{% else %}

{% trans "Firewall data unavailable." %}

{% endif %}
{% endif %}
{% trans "Config JSON (Raw)" %}
{{ config_payload_json }}
{% endblock %}