iT邦幫忙

0

VMWare如何設定UUID

  • 分享至 

  • xImage

最近在試著做P2V,卻發現一個嚴重的問題,就是系統的UUID會改變,
已經試著去修改.VMX裡的設定,卻發現這個設定檔好像是每次開機都會被覆寫。

想請教有人成功在vCenter和VMware Workstation中修改過虛擬機器的uuid.bios嗎?

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

4
chiounan
iT邦研究生 1 級 ‧ 2012-12-18 11:23:03
最佳解答

Specifying a UUID for a Virtual Machine

In some circumstances you may want to assign a specific UUID to the virtual machine. To do this, you need to override the automatically generated UUID value. Power off the virtual machine and edit its configuration file (.vmx) to set the value of the UUID parameter. Use a text editor to edit the configuration file. The format for the line is:

uuid.bios = <uuidvalue>

The UUID value must be surrounded by quotation marks. A sample configuration line looks like:

uuid.bios = "00 11 22 33 44 55 66 77-88 99 aa bb cc dd ee ff"

After adding this line to the configuration file, power on the virtual machine. The new UUID is used when the virtual machine boots.

tibandyli iT邦新手 2 級 ‧ 2012-12-20 22:45:11 檢舉

謝謝幫忙~
請教您所指的vm版本為何?
在Workstation 6.5上好像看不到"Configuration"的選項與之後的步驟。
不過…照著您所說的設定值,直接加到該VM的.vmx去,雖然開機還是會把uuid.location的設定值給複寫回預設值,不過…uuid.bios卻可以生效了,感謝協助~

我要發表回答

立即登入回答