Always use lowercase for hw addresses

This commit is contained in:
Gregory Kurtzer
2022-01-26 04:02:30 +00:00
parent 84b618fb7b
commit 9e943101ec
2 changed files with 2 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
}
wwlog.Printf(wwlog.VERBOSE, "Node: %s:%s, Setting HW address to: %s\n", n.Id.Get(), SetNetName, SetHwaddr)
n.NetDevs[SetNetName].Hwaddr.Set(SetHwaddr)
n.NetDevs[SetNetName].Hwaddr.Set(strings.ToLower(SetHwaddr))
}
if SetType != "" {