IPv6: wwclient support

Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
Timothy Middelkoop
2025-11-27 02:55:34 +00:00
parent f5b4333781
commit c99cfec1b0
2 changed files with 6 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Set `addr-gen-mode=eui64`
- Set dnsmasq to listen to the Warewulf interface to prevent to binding to localhost:53
- Added Ipv6 support to `/etc/hosts` on host and nodes.
- Added IPv6 support to wwclient
### Removed

View File

@@ -225,8 +225,12 @@ func CobraRunE(cmd *cobra.Command, args []string) (err error) {
var finishedInitialSync bool = false
ipaddr := os.Getenv("WW_IPADDR")
if ipaddr == "" {
if conf.Ipaddr6 != "" {
ipaddr = conf.Ipaddr6
} else {
ipaddr = conf.Ipaddr
}
}
for {
updateSystem(target, ipaddr, conf.Warewulf.Port, wwid, tag, localUUID)