Add WWbool.BoolDefaultTrue()

New support in WWbool for booleans that default "true."

Used primarily for NetDev.OnBoot.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-19 18:01:17 -07:00
parent 9ae77cb5b9
commit fd8de8bfab
15 changed files with 62 additions and 27 deletions

View File

@@ -169,7 +169,7 @@ node methods in addition to its fields.
- Tags:
- NetDevs[default]:
- Type:
- OnBoot: true
- OnBoot: true (true)
- Device: wwnet0
- Hwaddr: e6:92:39:49:7b:03
- Ipaddr: 192.168.3.21
@@ -182,7 +182,7 @@ node methods in addition to its fields.
- Tags:
- NetDevs[secondary]:
- Type:
- OnBoot: true
- OnBoot: true (true)
- Device: wwnet1
- Hwaddr: 9a:77:29:73:14:f1
- Ipaddr: 192.168.3.22