Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 21. kickstart.snippet

Abstract

Provides methods to create kickstart files

21.1. createOrUpdate

Name
createOrUpdate
Description
Will create a snippet with the given name and contents if it doesn't exist. If it does exist, the existing snippet will be updated.
Parameters
  • string sessionKey
  • string name
  • string contents
Return Value
  • struct - snippet
    • string name
    • string contents
    • string fragment - The string to include in a kickstart file that will generate this snippet.
    • string file - The local path to the file containing this snippet.