projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
not need to set a default for install.kernel_cmdline because is skipped if the varaib...
[noc.git]
/
ansible
/
roles
/
vm
/
network
/
templates
/
systemd.link.j2
diff --git
a/ansible/roles/vm/network/templates/systemd.link.j2
b/ansible/roles/vm/network/templates/systemd.link.j2
index
753fd58
..
7093e16
100644
(file)
--- a/
ansible/roles/vm/network/templates/systemd.link.j2
+++ b/
ansible/roles/vm/network/templates/systemd.link.j2
@@
-1,5
+1,5
@@
[Match]
[Match]
-Path=pci-0000:01:{{ "%02d" | format(item.idx) }}.0
+Path=*pci-0000:01:{{ "%02d" | format(interface_index + 1) }}.0
[Link]
Name={{ item.name }}
[Link]
Name={{ item.name }}