From 6eacc2ad5539abf37dc90cd378b44320f7758869 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 7 Jul 2020 22:09:19 +0200 Subject: refactor vm role names --- roles/vm/guest/network/templates/systemd.link.j2 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/vm/guest/network/templates/systemd.link.j2 (limited to 'roles/vm/guest/network/templates/systemd.link.j2') 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 }} -- cgit v1.2.3