docs: def insert_virtual_media(self, url, device='FLOPPY'):
          """Notifies iLO of the location of a virtual media diskette image.
  
          :param url: URL to image
          :param device: virual media device
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          response, vm_device_uri = self._get_vm_device_status(device)
  
          # Eject media if there is one. RIBCL was tolerant enough to overwrite
          # existing media, RIS is not. This check is to take care of that
          # assumption.
          if response.get('Inserted', False):
              self.eject_virtual_media(device)
  
          # Update required property
          vm_settings = {}
          vm_settings['Image'] = url
  
          # Perform the patch operation
          status, headers, response = self._rest_patch(
              vm_device_uri, None, vm_settings)
  
          if status >= 300:
              msg = self._get_extended_error(response)
              raise exception.IloError(msg)