summaryrefslogtreecommitdiff
path: root/roles/vm-network/templates/systemd.link.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-11-21 22:28:39 +0100
committerChristian Pointner <equinox@spreadspace.org>2017-11-21 22:28:39 +0100
commit91cd5480b5a1ca1103d5e239af3d331477c41c2c (patch)
treeb495bf31e2d5da50b045838a1e8d0455db09ee65 /roles/vm-network/templates/systemd.link.j2
initial commit as copy from helsinki ansible repo
Diffstat (limited to 'roles/vm-network/templates/systemd.link.j2')
-rw-r--r--roles/vm-network/templates/systemd.link.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/vm-network/templates/systemd.link.j2 b/roles/vm-network/templates/systemd.link.j2
new file mode 100644
index 00000000..753fd586
--- /dev/null
+++ b/roles/vm-network/templates/systemd.link.j2
@@ -0,0 +1,5 @@
+[Match]
+Path=pci-0000:01:{{ "%02d" | format(item.idx) }}.0
+
+[Link]
+Name={{ item.name }}