> It will boot but without `/etc/machine-id` which leads to weird errors for example that network interfaces can not be configured.
Can you please attach the logs containing the errors you are seeing?
> Problem is that if you remove /etc/machine-id your ubuntu system is broken.
I don't think this statement is true. See the snippet from machine-id(5) below.
> they don't regenerate /etc/machine-id which is correct behavior
I don't think this is true. See this snippet from machine-id(5):
FIRST BOOT SEMANTICS /etc/machine-id is used to decide whether a boot is the first one. The rules are as follows:
1. If /etc/machine-id does not exist, this is a first boot. During early boot, systemd will write "uninitialized\n" to this file and overmount a temporary file which contains the actual machine ID.
Later (after first-boot-complete.target has been reached), the real machine ID will be written to disk.
> I using the the ova image from here https:/ /cloud- images. ubuntu. com/
Which release of Ubuntu did you use?
> It will boot but without `/etc/machine-id` which leads to weird errors for example that network interfaces can not be configured.
Can you please attach the logs containing the errors you are seeing?
> Problem is that if you remove /etc/machine-id your ubuntu system is broken.
I don't think this statement is true. See the snippet from machine-id(5) below.
> they don't regenerate /etc/machine-id which is correct behavior
I don't think this is true. See this snippet from machine-id(5):
FIRST BOOT SEMANTICS
/etc/machine- id is used to decide whether a boot is the first one. The rules are as follows:
1. If /etc/machine-id does not exist, this is a first boot. During early boot, systemd will write
"uninitiali zed\n" to this file and overmount a temporary file which contains the actual machine ID. complete. target has been reached), the real machine ID will be written to disk.
Later (after first-boot-