ProvisionDevice - setDeviceBootImage
ProvisionDevice - setDeviceBootImage
Description :
This command sets the boot image for a given device.
You use the BootImageId variable to indicate which image you want to use for the device. You can use the following ID numbers for BootImageId:
- DOS image for x86 devices: 1
- Gentoo image for x86 devices: 100
- Gentoo image for x64 devices: 101
- Windows PE 2.0 image for x86 devices: 200
- Windows PE 2.0 image for x64 devices: 201
- Windows PE 1.6 image for x86 devices: 300
- Windows PE 1.6 image for x64 devices: 301
- Windows PE 2.x ISO image for x86 devices: 400
- Windows PE 2.x ISO image for x64 devices: 401
- Gentoo, Skip Linux Pre-Install image: 500
- VMware Server ESXi 4.0 image for x64 devices: 501
Return type : void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
MAC | String | MAC address of the device whose boot image you want to set. Format the MAC address as a hex string, separated with dashes, colons, or spaces (for example, 00-0B-CD-1B-E0-44). Alphabetic characters must be in upper case. |
BootImageId | String | ID of the boot image you want to set. |
Example
This example shows how to set the boot image for an x86 device to a Gentoo image for x86 devices.
Script
blcli ProvisionDevice setDeviceBootImage 11-11-11-11-11-11 100
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*