( Return to API Overview )
- addFilePreservations
- addKeys
- checkConfigManagement
- checkRemoteCommands
- disableConfigManagement
- disableRemoteCommands
- enableConfigManagement
- enableRemoteCommands
- getLocale
- getPartitioningScheme
- getSELinux
- listFilePreservations
- listKeys
- removeFilePreservations
- removeKeys
- setLocale
- setPartitioningScheme
- setSELinux
Description
Provides methods to set various properties of a kickstart profile.
Namespace:
kickstart.profile.system
Description:
Adds the given list of file preservations to the specified kickstart
profile.
Parameters:
-
string sessionKey
-
string kickstartLabel
-
array:
- string - filePreservations
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Adds the given list of keys to the specified kickstart profile.
Parameters:
-
string sessionKey
-
string kickstartLabel
-
array:
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Check the configuration management status for a kickstart profile.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
- boolean "enabled" - true if configuration
management is enabled; otherwise, false
Description:
Check the remote commands status flag for a kickstart profile.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
- boolean "enabled" - true if remote
commands support is enabled; otherwise, false
Description:
Disables the configuration management flag in a kickstart profile
so that a system created using this profile will be NOT be configuration capable.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Disables the remote command flag in a kickstart profile
so that a system created using this profile
will be capable of running remote commands
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Enables the configuration management flag in a kickstart profile
so that a system created using this profile will be configuration capable.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Enables the remote command flag in a kickstart profile
so that a system created using this profile
will be capable of running remote commands
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Retrieves the locale for a kickstart profile.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
struct - locale info
- string "locale"
- boolean "useUtc"
- true - the hardware clock uses UTC
- false - the hardware clock does not use UTC
Description:
Get the partitioning scheme for a kickstart profile.
Parameters:
-
string sessionKey
-
string ksLabel - The label of a kickstart
profile.
Returns:
-
string[] - A list of partitioning commands used to
setup the partitions, logical volumes and volume groups."
Description:
Retrieves the SELinux enforcing mode property of a kickstart
profile.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
Returns:
-
string enforcingMode
- enforcing
- permissive
- disabled
Description:
Returns the set of all file preservations associated with the given
kickstart profile.
Parameters:
-
string sessionKey
-
string kickstartLabel
Returns:
-
array:
-
struct - file list
- string "name"
- array "file_names"
Description:
Returns the set of all keys associated with the given kickstart
profile.
Parameters:
-
string sessionKey
-
string kickstartLabel
Returns:
-
array:
-
struct - key
- string "description"
- string "type"
- string "content"
Description:
Removes the given list of file preservations from the specified
kickstart profile.
Parameters:
-
string sessionKey
-
string kickstartLabel
-
array:
- string - filePreservations
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Removes the given list of keys from the specified kickstart profile.
Parameters:
-
string sessionKey
-
string kickstartLabel
-
array:
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Sets the locale for a kickstart profile.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
-
string locale - the locale
-
boolean useUtc
- true - the hardware clock uses UTC
- false - the hardware clock does not use UTC
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Set the partitioning scheme for a kickstart profile.
Parameters:
-
string sessionKey
-
string ksLabel - The label of the
kickstart profile to update.
-
string[] scheme - The partitioning scheme
is a list of partitioning command strings used to setup the partitions,
volume groups and logical volumes.
Returns:
-
int - 1 on success, exception thrown otherwise.
Description:
Sets the SELinux enforcing mode property of a kickstart profile
so that a system created using this profile will be have
the appropriate SELinux enforcing mode.
Parameters:
-
string sessionKey
-
string ksLabel - the kickstart profile label
-
string enforcingMode - the selinux enforcing mode
- enforcing
- permissive
- disabled
Returns:
-
int - 1 on success, exception thrown otherwise.