Skip to content

Instantly share code, notes, and snippets.

@stahnma
Created November 11, 2009 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stahnma/231524 to your computer and use it in GitHub Desktop.
Save stahnma/231524 to your computer and use it in GitHub Desktop.
$VAR1 = [
[
bless( {
'deviceInfo' => bless( {
'summary' => 'IDE 0',
'label' => 'IDE 0'
}, 'Description' ),
'busNumber' => '0',
'key' => '200'
}, 'VirtualIDEController' ),
bless( {
'deviceInfo' => bless( {
'summary' => 'IDE 1',
'label' => 'IDE 1'
}, 'Description' ),
'busNumber' => '1',
'key' => '201'
}, 'VirtualIDEController' ),
bless( {
'device' => [
'600',
'700'
],
'deviceInfo' => bless( {
'summary' => 'PS2 controller 1',
'label' => 'PS2 controller 1'
}, 'Description' ),
'busNumber' => '0',
'key' => '300'
}, 'VirtualPS2Controller' ),
bless( {
'device' => [
'500',
'12000',
'4000',
'1000'
],
'deviceInfo' => bless( {
'summary' => 'PCI controller 1',
'label' => 'PCI controller 1'
}, 'Description' ),
'busNumber' => '0',
'key' => '100'
}, 'VirtualPCIController' ),
bless( {
'deviceInfo' => bless( {
'summary' => 'SIO controller 1',
'label' => 'SIO controller 1'
}, 'Description' ),
'busNumber' => '0',
'key' => '400'
}, 'VirtualSIOController' ),
bless( {
'unitNumber' => '0',
'deviceInfo' => bless( {
'summary' => 'Keyboard',
'label' => 'Keyboard '
}, 'Description' ),
'controllerKey' => '300',
'key' => '600'
}, 'VirtualKeyboard' ),
bless( {
'backing' => bless( {
'hostPointingDevice' => 'autodetect',
'useAutoDetect' => '0',
'deviceName' => ''
}, 'VirtualPointingDeviceDeviceBackingInfo' ),
'unitNumber' => '1',
'deviceInfo' => bless( {
'summary' => 'Pointing device; Device',
'label' => 'Pointing device'
}, 'Description' ),
'controllerKey' => '300',
'key' => '700'
}, 'VirtualPointingDevice' ),
bless( {
'useAutoDetect' => '0',
'enable3DSupport' => '0',
'videoRamSizeInKB' => '4096',
'unitNumber' => '0',
'deviceInfo' => bless( {
'summary' => 'Video card',
'label' => 'Video card '
}, 'Description' ),
'controllerKey' => '100',
'key' => '500'
}, 'VirtualMachineVideoCard' ),
bless( {
'allowUnrestrictedCommunication' => '0',
'unitNumber' => '17',
'deviceInfo' => bless( {
'summary' => 'Device on the virtual machine PCI bus that provides support for the virtual machine communication interface',
'label' => 'VMCI device'
}, 'Description' ),
'controllerKey' => '100',
'key' => '12000'
}, 'VirtualMachineVMCIDevice' ),
bless( {
'macAddress' => '00:50:56:a7:1f:6e',
'backing' => bless( {
'network' => bless( {
'value' => 'network-54',
'type' => 'Network'
}, 'ManagedObjectReference' ),
'useAutoDetect' => '0',
'deviceName' => '131 Unix Dev'
}, 'VirtualEthernetCardNetworkBackingInfo' ),
'wakeOnLanEnabled' => '0',
'key' => '4000',
'connectable' => bless( {
'allowGuestControl' => '1',
'status' => 'ok',
'connected' => '1',
'startConnected' => '1'
}, 'VirtualDeviceConnectInfo' ),
'addressType' => 'assigned',
'deviceInfo' => bless( {
'summary' => '131 Unix Dev',
'label' => 'Network adapter 1'
}, 'Description' ),
'unitNumber' => '7',
'controllerKey' => '100'
}, 'VirtualPCNet32' ),
bless( {
'sharedBus' => bless( {
'val' => 'noSharing'
}, 'VirtualSCSISharing' ),
'device' => [
'2000',
'2001'
],
'key' => '1000',
'hotAddRemove' => '1',
'scsiCtlrUnitNumber' => '7',
'deviceInfo' => bless( {
'summary' => 'LSI Logic',
'label' => 'SCSI controller 0'
}, 'Description' ),
'unitNumber' => '3',
'controllerKey' => '100',
'busNumber' => '0'
}, 'VirtualLsiLogicController' ),
bless( {
'shares' => bless( {
'shares' => '1000',
'level' => bless( {
'val' => 'normal'
}, 'SharesLevel' )
}, 'SharesInfo' ),
'capacityInKB' => '15777216',
'backing' => bless( {
'writeThrough' => '0',
'fileName' => '[dcgpndw401] sbox09/sbox09.vmdk',
'uuid' => '6000C29d-88d7-39aa-27b5-578f29866249',
'diskMode' => 'persistent',
'datastore' => bless( {
'value' => 'datastore-17',
'type' => 'Datastore'
}, 'ManagedObjectReference' ),
'thinProvisioned' => '0',
'split' => '0',
'contentId' => 'fbb11d97305fc41243ef5b43c8bb0c74'
}, 'VirtualDiskFlatVer2BackingInfo' ),
'unitNumber' => '0',
'deviceInfo' => bless( {
'summary' => '15,777,216 KB',
'label' => 'Hard disk 1'
}, 'Description' ),
'controllerKey' => '1000',
'key' => '2000'
}, 'VirtualDisk' ),
bless( {
'shares' => bless( {
'shares' => '1000',
'level' => bless( {
'val' => 'normal'
}, 'SharesLevel' )
}, 'SharesInfo' ),
'capacityInKB' => '1048576',
'backing' => bless( {
'writeThrough' => '0',
'fileName' => '[dcgpndw402] sbox09/sbox09.vmdk',
'uuid' => '6000C296-565d-b122-e386-6e8867eb23bf',
'diskMode' => 'persistent',
'datastore' => bless( {
'value' => 'datastore-59',
'type' => 'Datastore'
}, 'ManagedObjectReference' ),
'thinProvisioned' => '0',
'split' => '0',
'contentId' => '49914ae331bec87408445cb64a222aa7'
}, 'VirtualDiskFlatVer2BackingInfo' ),
'unitNumber' => '1',
'deviceInfo' => bless( {
'summary' => '1,048,576 KB',
'label' => 'Hard disk 2'
}, 'Description' ),
'controllerKey' => '1000',
'key' => '2001'
}, 'VirtualDisk' )
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment