ansible: vm/network role improvments
[noc.git] / ansible / roles / vm / network / templates / systemd.link.j2
index 7486dfb..7093e16 100644 (file)
@@ -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 }}