public class SystemDetailsCommand extends BaseKickstartCommand
ksdata, rebuildPartitionCommands, user
Constructor and Description |
---|
SystemDetailsCommand(KickstartData data,
User userIn)
constructor
Construct a command with a KSdata provided.
|
SystemDetailsCommand(java.lang.Long ksidIn,
User userIn)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
enableConfigManagement(boolean enable)
Enables config management flag in this profile
|
void |
enableRemoteCommands(boolean enable)
Enables/Disables the ability to do remote commands in this profile
|
void |
setMode(SELinuxMode mode)
Sets the se linux mode of the kick start profile..
|
void |
setRegistrationType(java.lang.String registrationType)
Sets the registration type of the kickstart data
|
void |
updateRootPassword(java.lang.String rootPw,
java.lang.String rootPwConfirm)
Updates the root password in the network profile.
|
findCommandName, getKickstartData, getUser, store
public SystemDetailsCommand(java.lang.Long ksidIn, User userIn)
ksidIn
- kickstart iduserIn
- logged in userpublic SystemDetailsCommand(KickstartData data, User userIn)
data
- the kickstart datauserIn
- Logged in Userpublic void setMode(SELinuxMode mode)
mode
- the selinux mode enforcing/permissive/disabledpublic void updateRootPassword(java.lang.String rootPw, java.lang.String rootPwConfirm)
rootPw
- the new passwordrootPwConfirm
- password confirmation ..public void enableConfigManagement(boolean enable)
enable
- true to enable config management, false to disable config mgmtpublic void enableRemoteCommands(boolean enable)
enable
- true to enable, false to diable remote commands.public void setRegistrationType(java.lang.String registrationType)
registrationType
- the registration type