14.11. Method: importFile
Import a kickstart profile into Red Hat Network.
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, orxenpv - 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 anyurl/nfs/cdrom/harddrivecommands 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), orall(includes custom kickstart trees)
The following return values are available for this method:
- int -
1on success, exception thrown otherwise.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.