| 1 | #! /bin/bash
|
|---|
| 2 | VM_NAME="win7" # Name of your Virtual Machine
|
|---|
| 3 | VSETED="VBoxManage setextradata $VM_NAME"
|
|---|
| 4 | CFG_PATH="VBoxInternal/Devices/pcbios/0/Config"
|
|---|
| 5 | $VSETED $CFG_PATH/DmiBIOSVendor "American Megatrends Inc."
|
|---|
| 6 | $VSETED $CFG_PATH/DmiBIOSVersion "string:0317"
|
|---|
| 7 | $VSETED $CFG_PATH/DmiBIOSReleaseDate "09/24/2009"
|
|---|
| 8 | $VSETED $CFG_PATH/DmiBIOSReleaseMajor 8
|
|---|
| 9 | $VSETED $CFG_PATH/DmiBIOSReleaseMinor 15
|
|---|
| 10 | $VSETED $CFG_PATH/DmiBIOSFirmwareMajor 0
|
|---|
| 11 | $VSETED $CFG_PATH/DmiBIOSFirmwareMinor 15
|
|---|
| 12 | $VSETED $CFG_PATH/DmiSystemVendor "ASUSTeK Computer INC."
|
|---|
| 13 | $VSETED $CFG_PATH/DmiSystemProduct "1101HA"
|
|---|
| 14 | $VSETED $CFG_PATH/DmiSystemVersion "<EMPTY>"
|
|---|
| 15 | $VSETED $CFG_PATH/DmiSystemSerial "99OAAS252294"
|
|---|
| 16 | $VSETED $CFG_PATH/DmiSystemUuid "808E8DF2-9011-4681-27C7-90E6BA3E958E"
|
|---|
| 17 | $VSETED $CFG_PATH/DmiSystemFamily "X86-based PC"
|
|---|