summaryrefslogtreecommitdiff
path: root/roles/vm/guest/network
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-12-28 00:08:41 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-12-29 01:20:13 +0100
commit90d7d57cf85d93f3662fc54bd5848b0fe4fb44f2 (patch)
tree2b3434f289e2a4ed5d414118c6838c16717896ec /roles/vm/guest/network
parentatlas now uses zfs for vm disks (diff)
vm/guest: switch to machine-type q35
Diffstat (limited to 'roles/vm/guest/network')
-rw-r--r--roles/vm/guest/network/templates/systemd.link.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vm/guest/network/templates/systemd.link.j2 b/roles/vm/guest/network/templates/systemd.link.j2
index 7093e164..629275ad 100644
--- a/roles/vm/guest/network/templates/systemd.link.j2
+++ b/roles/vm/guest/network/templates/systemd.link.j2
@@ -1,5 +1,5 @@
[Match]
-Path=*pci-0000:01:{{ "%02d" | format(interface_index + 1) }}.0
+Path=*pci-0000:{{ "%02x" | format(interface_index + 16) }}:00.0
[Link]
Name={{ item.name }}