HI all, It seems that the MACAddressPolicy is periodically changing or
being updated on my Ubuntu 22.04 cluster.

When I create the 22.04 image, I set the file
/usr/lib/systemd/network/99-default.link to MACAddressPolicy=none and
generate the image.

However, after a certain period of time (24 hours?), the value changes back
to MACAddressPolicy=persistent. Strangely, even though the value has
changed, the date still points to 2022.

-rw-r--r-- 1 root root 499 Mar 11  2022
/usr/lib/systemd/network/99-default.link
Is there a specific systemd daemon that might be changing this value?

As a solution, I can set the �file with a higher priority, but I am curious
about why it is being changed.
----------------
[Match]
OriginalName=*

[Link]
NamePolicy=keep kernel database onboard slot path
AlternativeNamesPolicy=database onboard slot path
MACAddressPolicy=persistent
thank you.

Reply via email to