HP iLO 4 Scripting and Command Line Guide
INSERT_VIRTUAL_MEDIA
This command notifies iLO of the location of a diskette image. The INSERT_VIRTUAL_MEDIA
command must display within a RIB_INFO element, and RIB_INFO must be in write mode. You
must purchase the iLO Advanced license to enable this feature.
For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<RIB_INFO MODE="write">
<!-- Firmware support information for next tag: -->
<!-- iLO 4 - All versions. -->
<!-- iLO 3 - All versions. -->
<!-- iLO 2 - All versions. -->
<INSERT_VIRTUAL_MEDIA DEVICE="FLOPPY" IMAGE_URL="http://188.188.188.33/
images/Floppy/dos.bin" />
<!-- Firmware support information for next tag: -->
<!-- iLO 4 - All versions. -->
<!-- iLO 3 - None. -->
<!-- iLO 2 - None. -->
<!-- <INSERT_VIRTUAL_FLOPPY IMAGE_LOCATION = "c:\tools\test.img"/>
-->
</RIB_INFO>
</LOGIN>
</RIBCL>
INSERT_VIRTUAL_MEDIA parameters
DEVICE specifies the Virtual Media device target. The possible values are FLOPPY or CDROM. If
the DEVICE is not specified, FLOPPY is assumed. This value is case-sensitive.
IMAGE_URL specifies the URL for the diskette image. The URL format is as follows:
protocol://username:password@hostname:port/filename,cgi-helper
• protocol is mandatory and must be either http or https.
• username:password is optional.
• hostname is mandatory.
• port is optional.
• filename is mandatory.
• cgi-helper is optional. This enables the virtual floppy to be writable.
In addition, the filename field can contain tokens that expand to host-specific strings:
• %m expands to the MAC address.
• %i expands to the IP address in dotted-quad form.
• %h expands to the hostname.
For example:
http://john:abc123@imgserver.company.com/disk/win98dos.bin,/cgi-bin/
hpvfhelp.pl
http://imgserver.company.com/disk/boot%m.bin
This command specifies only the location of the image to be used. For the image to be connected
to the server, the appropriate BOOT_OPTION must be specified using the SET_VM_STATUS
command. If BOOT_OPTION is set to BOOT_ONCE and the server is rebooted, any subsequent
server reboots eject the image.
RIB_INFO 111










