HP iLO 4 Scripting and Command Line Guide

hostname—Mandatory field
port—Optional field
filename—Mandatory field
The CLP performs only a cursory syntax verification of the URL value. You must visually verify that
the URL is valid.
For example
set oemhp_image=http://imgserver.company.com/image/dosboot.bin
set oemhp_image=http://john:abc123@imgserver.company.com/VMimage/
installDisk.iso
Tasks
To insert a floppy USB key image into the Virtual Floppy/USBKey, enter:
cd /map1/oemhp_vm1/floppydr1
show
set oemhp_image=http://my.imageserver.com/floppyimg.bin
set oemhp_boot=connect
show
This example executes the following commands:
Changes the current context to the floppy or key drive
Shows the current status to verify that the media is not in use
Inserts the desired image into the drive
Connects the media. The boot setting always connects automatically
To eject a floppy or USB key image from the Virtual Floppy/USBKey, enter:
cd /map1/oemhp_vm1/floppydr1
set oemhp_boot=disconnect
This example executes the following commands:
Changes the current context to the floppy or key drive
Issues the disconnect command that disconnects the media and clears the oemhp_image
To insert a CD-ROM image into the virtual CD-ROM, enter:
cd /map1/oemhp_vm1/cddr1
show
set oemhp_image=http://my.imageserver.com/ISO/install_disk1.iso
set oemhp_boot=connect
show
This example executes the following commands:
Changes the current context to the CD-ROM drive
Shows the current status to verify that the media is not in use
Inserts the desired image into the drive
Connects the media. The boot setting always connects automatically
52 SMASH CLP Scripting Language