CentOS8 clones not getting new "machine-id"

This is for discussing general topics about how to use VirtualBox.
Post Reply
Visolara
Posts: 1
Joined: 4. Aug 2022, 01:52

CentOS8 clones not getting new "machine-id"

Post by Visolara »

Question on "machine-id" for clones of a base image. I built out my CentOS 8 base image to be used as a clone. I made two clones and the machine-id doesn't update from the base machine-id. I expected the clones to get new machine-id's. Here are my steps for cloning:

Create new clone
MAC Address Policy: Generate new MAC address for all network adapters
Full Clone
Login and update hostname

Here are the /etc/machine-id files from each machine.

Base Clone:
[user1@centos8-base ~]$ cat /etc/machine-id
08b080a8dc9646aebfbd6e196c2e5f10
[user1@centos8-base ~]$

Clone1
[user1@centos8-1 ~]$ cat /etc/machine-id
08b080a8dc9646aebfbd6e196c2e5f10
[user1@centos8-1 ~]$

Clone2
[user1@centos8-2 ~]$ cat /etc/machine-id
08b080a8dc9646aebfbd6e196c2e5f10
[user1@centos8-2 ~]$

Is this an issue, or no?


Thank you!
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: CentOS8 clones not getting new "machine-id"

Post by fth0 »

Visolara wrote:I expected the clones to get new machine-id's.
In your Linux guest, read man machine-id to understand what the machine-id really is. In short, it's a random value created by the Linux guest OS at installation or boot time, independent from the (physical or virtual) hardware.
Post Reply