Is it possible to have an access to /sys/class/dmi/id/product_uuid file on ?

AlexAfromBY Posted 18 Sep 2023 21:29

Hello,
I have a script which generates some type of an ID for on a linux virtual machine based on a content of /sys/class/dmi/id/product_uuid file. But I see that this file is inaccessible on virtual machines. Is it any method to have such file on virtual machine?  If not what is the recommended way to generate unique id based on hardware info on Sangfor HCI platform?

Thanks

CTI TF has solved this question and earned 20 coins.

Posting a reply earns you 2 coins. An accepted reply earns you 20 coins and another 10 coins for replying within 10 minutes. (Expired) What is Coin?

Enter your mobile phone number and company name for better service. Go

Hi. In this case, you may check on the following for the uuid.
1. Enable the "Enable UUID generator" under VM > Edit > Advanced.

2. Verify whether your HCI version is up to date as the old version of HCI might not support the said features.
If the HCI is in low version, may consider upgrading your HCI version and check on the uuid file.
Is this answer helpful?
AlexAfromBY Posted 09 Oct 2023 18:36
  
the Linux distro is ubuntu 20
Yes, of course I tried it with root permission.
I have attached two screenshots which show what I have tried to do.


Capture2.PNG (2.84 KB, Downloads: 187)

Capture2.PNG

Capture1.PNG (14.58 KB, Downloads: 184)

Capture1.PNG

I Can Help:

Change

Moderator on This Board

3
0
2

Started Topics

Followers

Follow

2
0
0

Started Topics

Followers

Follow

2
20
0

Started Topics

Followers

Follow

Board Leaders