[09:56] Hi [09:56] If I run "netplan ip leases ens18" netplan shows me the current dhcp lease for this interface with the "CLIENTID=..." used. Where is this CLIENTID stored, or how can I change that CLIENTID? I have a template and need to regenerate this ID for every copy of the template. [10:12] that's the DHCP client identifier, it's generated by the client and based on rfc4361 by default. You can change it to be the MAC address though with "dhcp-identifier: mac" in Netplan [10:39] I know that, but how can i change the random generated one? [10:45] On isc-dhcp-client there is a "/var/lib/dhcp/dhclient.*.leases" file for every interface. In the the first line of this file is the random identifier and if I delete this file a new random ID will be generated. [10:45] I think netplan does something similar but I can't find where the ID is stored. [10:47] I believe you can change it in systemd-networkd (see DUIDRawData in man networkd.conf) but you can't do that through netplan I'm afraid. You could create a drop in systemd config for your interface with DUIDRawData= though. [10:47] it's systemd thing, not netplan's... [10:48] netplan doesn't support setting DUIDRawData yet unfortunately [10:52] ahh, its a systemd thing. Thank you that helps a lot [12:19] Ok, the ID is generated out of the machine-id (/etc/machine-id), so if I do not need to do an extra step for dhcp (only a reboot).