HP iLO 4 Scripting and Command Line Guide

<!-- Firmware support information for next tag: -->
<!-- iLO 4 - All versions. -->
<!-- iLO 3 - All versions. -->
<!-- iLO 2 - All versions. -->
<SET_VM_STATUS DEVICE="FLOPPY">
<VM_BOOT_OPTION VALUE="BOOT_ONCE"/>
<VM_WRITE_PROTECT VALUE="YES" />
</SET_VM_STATUS>
</RIB_INFO>
</LOGIN>
</RIBCL>
SET_VM_STATUS parameters
DEVICE specifies the Virtual Media device target. The possible values are FLOPPY or CDROM. If
the DEVICE is not specified, FLOPPY is assumed. The value is not case-sensitive.
VM_BOOT_OPTION specifies the boot option parameter for the Virtual Media. The possible values
are BOOT_ALWAYS, BOOT_ONCE, or NO_BOOT. These values control how the Virtual Media
device behaves during the boot phase of the server. Setting these values does not affect the current
state of the Virtual Media device. These settings only take affect if the Virtual Media device is
connected at server boot.
BOOT_ALWAYS sets the VM_BOOT_OPTION to BOOT_ALWAYS. The Virtual Media device
is always connected during server boot. The Virtual Media device is not connected immediately
when the VM_BOOT_OPTION is set. The Virtual Media device is connected on the next server
boot after setting of the VM_BOOT_OPTION.
BOOT_ONCE sets the VM_BOOT_OPTION to BOOT_ONCE. The Virtual Media device is
connected during the next server boot, but on any subsequent server boots, it does not connect.
The BOOT_ONCE option is intended to boot one time to the Virtual Media device, use that
device while the server is running, and then not have the Virtual Media device available on
subsequent server reboots. The Virtual Media device is not connected immediately when the
VM_BOOT_OPTION is set. The Virtual Media device is connected on the next server boot
following the setting of the VM_BOOT_OPTION. After the server has booted once with the
Virtual Media device connected, on the subsequent server reboot, the Virtual Media device
does not connect and the following Virtual Media device settings reset to their default values:
BOOT_OPTION=NO_BOOT
IMAGE_INSERTED = NO
NO_BOOT sets the VM_BOOT_OPTION to NO_BOOT. The Virtual Media device is not
connected during the next server boot. The Virtual Media device is not disconnected
immediately when the VM_BOOT_OPTION is set. The Virtual Media device is disconnected
on the next server boot following the setting of the VM_BOOT_OPTION. After the server has
booted, the Virtual Media device does not connect and the following Virtual Media device
settings reset to their default values:
BOOT_OPTION = NO_BOOT
IMAGE_INSERTED = NO
In addition to the VM_BOOT_OPTIONS, CONNECT and DISCONNECT are also possible values.
The CONNECT and DISCONNECT settings can be used to control the Virtual Media devices in
the same way that they are controlled in the Virtual Media applet. Whenever the CONNECT or
DISCONNECT parameters are set, the Virtual Media device immediately connects or disconnects,
respectively, to the server.
CONNECT sets the VM_BOOT_OPTION to CONNECT. The Virtual Media device is
immediately connected to the server. Setting the VM_BOOT_OPTION to CONNECT is
equivalent to clicking the device Connect button on the Virtual Media Applet. After setting the
114 RIBCL XML Scripting Language