Red Hat Training

A Red Hat training course is available for Red Hat Satellite

14.11. 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
  • string updateType - Update the profile to use the newest tree available. Possible values are: none (default), red_hat (only use kickstart trees synchronized from Red Hat), or all (includes custom kickstart trees)
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.