summaryrefslogtreecommitdiff
path: root/roles/vm/network/templates/systemd.link.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-05-24 23:40:30 +0200
committerChristian Pointner <equinox@spreadspace.org>2018-05-24 23:40:30 +0200
commit79c40fec07d7ea906cf1375fa93a4b202766ba79 (patch)
tree11266d83065f2507da0d1f118a8d832be82a13c2 /roles/vm/network/templates/systemd.link.j2
parentsome cleanups (diff)
move vm roles to subdir
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 }}