code: def server_pxe(host=None,
                 admin_username=None,
                 admin_password=None):
      '''
      Configure server to PXE perform a one off PXE boot
  
      CLI Example:
  
      .. code-block:: bash
  
          salt dell dracr.server_pxe
      '''
      if __execute_cmd('config -g cfgServerInfo -o cfgServerFirstBootDevice PXE',
                       host=host, admin_username=admin_username,
                       admin_password=admin_password):
          if __execute_cmd('config -g cfgServerInfo -o cfgServerBootOnce 1',
                           host=host, admin_username=admin_username,
                           admin_password=admin_password):
              return server_reboot
          else:
              log.warning('failed to set boot order')
              return False
  
      log.warning('failed to configure PXE boot')
      return Falsf server_pxe(host=None,
                 admin_username=None,
                 admin_password=None):
      '''
      Configure server to PXE perform a one off PXE boot
  
      CLI Example:
  
      .. code-block:: bash
  
          salt dell dracr.server_pxe
      '''
      if __execute_cmd('config -g cfgServerInfo -o cfgServerFirstBootDevice PXE',
                       host=host, admin_username=admin_username,
                       admin_password=admin_password):
          if __execute_cmd('config -g cfgServerInfo -o cfgServerBootOnce 1',
                           host=host, admin_username=admin_username,
                           admin_password=admin_password):
              return server_reboot
          else:
              log.warning('failed to set boot order')
              return False
  
      log.warning('failed to configure PXE boot')
      return False
docs: Configure server to PXE perform a one off PXE boot
  
      CLI Example:
  
      .. code-block:: bash
  
          salt dell dracr.server_pxe