]> git.ipfire.org Git - thirdparty/systemd.git/commit
id128-util: Attempt to read UUID from /sys/hypervisor/uuid
authorRafaël Kooi <48814281+RA-Kooi@users.noreply.github.com>
Mon, 22 Jan 2024 16:04:07 +0000 (17:04 +0100)
committerRafaël Kooi <48814281+RA-Kooi@users.noreply.github.com>
Tue, 23 Jan 2024 17:55:15 +0000 (18:55 +0100)
commitd2f2c20a6dc0f5c6fbab7d7ca8dc8f636a72abdb
tree2aa30dac6aee2f6bffd45e4d63712afd81e729e6
parent9603fd29f866e45d33b5c5856f531bf17683b06c
id128-util: Attempt to read UUID from /sys/hypervisor/uuid

When using the Xen hypervisor the virtual machine UUID is exposed here.
This is useful when one needs stable IPv4 address assignment, e.g. for a
set of RAM nodes that are built from a template.
src/libsystemd/sd-id128/id128-util.c