[CentOS] how to display/create DUID?

Sun Sep 19 12:02:05 UTC 2021
hw <hw at gc-24.de>

On 9/19/21 09:06, Kenneth Porter wrote:
> --On Sunday, September 19, 2021 2:10 AM +0200 hw <hw at gc-24.de> wrote:
>> So how/where do find I this DUID on my server?
> <https://redhatlinux.guru/2019/07/01/find-duid-on-rhel-and-centos-servers/>
> <https://askubuntu.com/questions/712159/how-can-i-find-out-my-systems-dhcpv6-duid> 
> My desktop has it in /var/lib/NetworkManager. I haven't yet figured out 
> what generates it or how it gets set on a server, as my servers don't 
> have one (that I can find). My suspicion is that it gets generated from 
> the UUID setting for the interface in 
> /etc/sysconfig/network-scripts/ifcfg-*.

None of this is working because the server isn't running a DHCPv6 
server, and there seems to be no file in /var/lib/NetworkManager that 
would seem to be helpful.

Isn't there a tool that creates the DUID and prints it?  This can't be 
too difficult ...