Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit 4f13c87

Browse files
committed
allow bootproto as parameter but default is still the same
1 parent 737c716 commit 4f13c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/bond_RedHat.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% if item.bootproto != 'dhcp' %}
33
DEVICE={{ item.device }}
44
USERCTL=no
5-
BOOTPROTO=static
5+
BOOTPROTO={{ item.bootproto|default('static') }}
66
BONDING_MASTER=yes
77
TYPE=Bond
88
{% if item.address is defined %}

0 commit comments

Comments
 (0)