The return message displays the current state of the Virtual Media. The VM_APPLET parameter shows if a virtual media device is already connected via the Virtual Media Applet. If the VM_APPLET = CONNECTED, then the Virtual Media is already in use and cannot be connected via scriptable Virtual Media or Virtual Media XML commands. The DEVICE parameter tells which device this return message is for. The BOOT_OPTION shows the current setting; BOOT_ALWAYS means that the server will always use the Virtual Media device for booting, BOOT_ONCE means that the server will boot to the Virtual Device once and then disconnect the Virtual Media on the subsequent server reboot, and NO_BOOT means that the Virtual Media will not be connected during a server reboot. The WRITE_PROTECT_FLAG parameter shows if the Virtual Media image can be written to. The IMAGE_INSERTED parameter tells if the Virtual Media device is connected via the scriptable Virtual Media or the Virtual Media XML command.
A possible GET_VM_STATUS return message is:
VM_APPLET = CONNECTED | DISCONNECTED
DEVICE = FLOPPY | CDROM
BOOT_OPTION = BOOT_ALWAYS | BOOT_ONCE | NO_BOOT
WRITE_PROTECT_FLAG = YES | NO
IMAGE_INSERTED = YES | NO
|
NOTE: If the BOOT_ONCE boot option is selected, all scriptable virtual media parameters are reset to default settings after the server boots. Specifically BOOT_OPTION = NO_BOOT, WRITE_PROTECT = NO, and IMAGE_INSERTED = NO. |