summaryrefslogtreecommitdiff
path: root/roles/vm/guest/network/templates/systemd.link.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-11 02:58:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-11 02:58:28 +0200
commit49c58d575f420165f7d8341bccb8b4ba4629e735 (patch)
treedfbfe6a937ec04fa7d48de8c1d08a1596ba837b2 /roles/vm/guest/network/templates/systemd.link.j2
parentMerge branch 'topic/debian-installer-verification' (diff)
parentch-gnocchi: remove temporary interface config (diff)
Merge branch 'topic/vm-host-network'
Diffstat (limited to 'roles/vm/guest/network/templates/systemd.link.j2')
-rw-r--r--roles/vm/guest/network/templates/systemd.link.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/vm/guest/network/templates/systemd.link.j2 b/roles/vm/guest/network/templates/systemd.link.j2
new file mode 100644
index 00000000..7093e164
--- /dev/null
+++ b/roles/vm/guest/network/templates/systemd.link.j2
@@ -0,0 +1,5 @@
+[Match]
+Path=*pci-0000:01:{{ "%02d" | format(interface_index + 1) }}.0
+
+[Link]
+Name={{ item.name }}