IPv6: wwclient support
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -225,7 +225,11 @@ func CobraRunE(cmd *cobra.Command, args []string) (err error) {
|
||||
var finishedInitialSync bool = false
|
||||
ipaddr := os.Getenv("WW_IPADDR")
|
||||
if ipaddr == "" {
|
||||
ipaddr = conf.Ipaddr
|
||||
if conf.Ipaddr6 != "" {
|
||||
ipaddr = conf.Ipaddr6
|
||||
} else {
|
||||
ipaddr = conf.Ipaddr
|
||||
}
|
||||
}
|
||||
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user