Provision - importDeviceWithBootImage
Provision - importDeviceWithBootImage
Description :
This command adds the specified MAC address as a discovered device with a specified boot image.
Format the MAC address as a '-' separated hex string, for example 00-0B-CD-1B-E0-44. Alphabetic characters in the MAC address must be in upper case. As an alternative to the dash character, you can use the colon or space key as the delimiter in the MAC address.
For bootImage, specify an ID that corresponds to the boot image you want to use. You can use the command listAllBootImages to display a list of boot image IDs, descriptions, and corresponding architectures. Make sure the bootImage you specify is appropriate to the architecture you specify.
Return type : java.lang.Integer
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
macAddress | String | MAC address of the device you want to add as a discovered device. |
architecture | String | Device architecture (x86 or x64). |
bootImage | Integer | Boot image ID. |
Example
The following example shows how to import a 64 bit device with the winPE 2.x x64 image (Image ID 201). The architecture argument is not case sensitive -- x64 is same as X64.
Script
blcli Provision listAllBootImages
1, DOS, Standard BMC BladeLogic image
100, GENTOO, Gentoo image for x86 devices
101, GENTOO, Gentoo image for x64 devices
200, WINPE, WinPE 2.x image for x86 devices
201, WINPE, WinPE 2.x image for x64 devices
300, WINPE, Windows PE 1.6 image for x86 devices
301, WINPE, Windows PE 1.6 image for x64 devices
400, WINPE_ISO, WinPE 2.x ISO image for x86 devices
401, WINPE_ISO, WinPE 2.x ISO image for x64 devices
500, GENTOO, Skip Linux Pre-Install image
501, ESXI, VMware Server ESXi 4.0 image for x64 devices
Provision importDeviceWithBootImage 11-AA-22-BB-33-CC x64 201