pub fn write_machine_id() -> Result<(), Error>Expand description
Writes a dummy /etc/machine-id, which is required for systemd-creds.
ยงErrors
Returns an error if
- a static machine-id can not be written to
/etc/machine-id, - or metadata on the created
/etc/machine-idcan not be retrieved.