Set SLAVE=yes in ifcfg files when MASTER is set

- Fixes: #1980

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-09-03 06:21:29 -06:00
parent 7a6a1ad441
commit 458e23d0ae
3 changed files with 4 additions and 0 deletions

View File

@@ -282,6 +282,7 @@ writeFile: true
Filename: ifcfg-en1.conf
# This file is autogenerated by warewulf
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
DEVICE=en1
NAME=en1
@@ -298,6 +299,7 @@ writeFile: true
Filename: ifcfg-en2.conf
# This file is autogenerated by warewulf
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
DEVICE=en2
NAME=en2