summaryrefslogtreecommitdiff
path: root/roles/vm/network/templates/systemd.link.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-05-25 02:04:16 +0200
committerChristian Pointner <equinox@spreadspace.org>2018-05-25 02:04:16 +0200
commit46787e1c9b9c574a13dae748d2f8ff89e7b55b8e (patch)
tree8a6c10959f53886565d873595d3c285fefbe9039 /roles/vm/network/templates/systemd.link.j2
parentmove kubernetes roles to subdir (diff)
remerge vm roles from realraum noc repo
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 }}