пятница, 24 марта 2017 г.

HMC in vmware/virtualbox


подкат номер раз:
$ VBoxManage setextradata "vmname" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "IBM CORPORATION"
$ VBoxManage setextradata "vmname" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" "7042CR5"
$ VBoxManage setextradata "vmname" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "06AAAAB"

https://sites.google.com/site/rhdisk0/unix/aix/hmc-in-virtualbox#TOC-Requisites


подкат номер два:
/mnt/initrd/opt/hmc/bin/GetVPD
    replace /usr/sbin/dmidecode --string bios-version | sed -e 's/-\[//g' | sed -e 's/\]-//g' line with echo "2AKT51A"
    replace sn=`/usr/sbin/dmidecode --string system-serial-number` with sn="7042CR7*10-1234A"
    replace echo "$cmodel$mtype" with echo "7042CR7"

/opt/hsc/bin/getHMCVPD
replace /usr/sbin/dmidecode --string bios-version | sed -e 's/-\[//g' | sed -e 's/\]-//g' with echo "2AKT51A"
replace echo "$cmodel$mtype*$sn" with echo "7042CR7*10-1234A"

replace echo "$cmodel$mtype" with echo "7042CR7"
http://emmanuel.iffly.free.fr/doku.php?id=aix:hmc_virtual

Комментариев нет: