Red Hat Training

A Red Hat training course is available for Red Hat Satellite

14.10. Method: importFile

Description

Import a kickstart profile into Red Hat Network.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string profileLabel - Label for the new kickstart profile
  • string virtualizationType - none, para_host, qemu, xenfv, or xenpv
  • string kickstartableTreeLabel - Label of a kickstartable tree to associate the new profile
  • string kickstartHost - Kickstart hostname (of a Red Hat Satellite or Red Hat Satellite Proxy) used to construct the default download URL for the new kickstart profile; using this option signifies that this default URL will be used instead of any url/nfs/cdrom/harddrive commands in the kickstart file itself
  • string kickstartFileContents - Contents of the kickstart file to import
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise