dmi request on linux guest

Discussions about using Linux guests in VirtualBox.
Post Reply
jcdole
Posts: 95
Joined: 3. May 2013, 18:25
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: WIN 7, WIN 10
Location: South west of france

dmi request on linux guest

Post by jcdole »

Hello.
The dmi command return at least :

Code: Select all

sudo dmidecode -t1
......
......
UUID: bdff32d1-3e66-844b-a18a-57436d13c0ce
......
......
Is this uuid immutable ?
Can it be modified by a normal user ( not user root ) ?
2 VM on different hosts, created from the same vdi file may have the same dmidecode uuid ( I mean is that dmidecode created when the vm is created ) ?

Can I say if a script running on a guest and reading the uuid from the dmidecode command, that script identify uniquely the vm ?

Any comments are welcome.
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: dmi request on linux guest

Post by fth0 »

This is the VM UUID, which is a random UUID created when the VM is created. Inside the host OS, it can be modified by any user who can modify the VM configuration. Inside the guest OS, it cannot be modified AFAIK.
jcdole
Posts: 95
Joined: 3. May 2013, 18:25
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: WIN 7, WIN 10
Location: South west of france

Re: dmi request on linux guest

Post by jcdole »

thank you very much.
Post Reply