Fix MAC in qemu script

master
LEdoian 3 years ago
parent 75bbce24c5
commit dc95ade8a0

@ -25,7 +25,7 @@ display none # Already handled by SPICE
# NIC: attach to bridges: # NIC: attach to bridges:
{% for br in c.bridges %} {% for br in c.bridges %}
nic bridge,br={{ br.name }},model=virtio-net-pci,mac=52:54:00:17:{{ '%02x%02x' % (c.num, br.num) }} nic bridge,br={{ br.name }},model=virtio-net-pci,mac=52:54:00:17:{{ '%02x:%02x' % (c.num, br.num) }}
{% endfor %} {% endfor %}
' '

Loading…
Cancel
Save