Red Hat Training

A Red Hat training course is available for Red Hat Satellite

14.11. importFile

Name
importFile
Description
Import a kickstart profile.
Parameters
  • 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 with.
  • string kickstartHost - Kickstart hostname (of a satellite or 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 - Should the profile update itself to use the newest tree available? Possible values are: none (default), red_hat (only use Kickstart Trees synced from Red Hat), or all (includes custom Kickstart Trees).
Return Value
  • int - 1 on success, exception thrown otherwise.