summaryrefslogtreecommitdiff
path: root/roles/vm/network/templates/systemd.link.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vm/network/templates/systemd.link.j2')
-rw-r--r--roles/vm/network/templates/systemd.link.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vm/network/templates/systemd.link.j2 b/roles/vm/network/templates/systemd.link.j2
index 753fd586..7093e164 100644
--- a/roles/vm/network/templates/systemd.link.j2
+++ b/roles/vm/network/templates/systemd.link.j2
@@ -1,5 +1,5 @@
[Match]
-Path=pci-0000:01:{{ "%02d" | format(item.idx) }}.0
+Path=*pci-0000:01:{{ "%02d" | format(interface_index + 1) }}.0
[Link]
Name={{ item.name }}