add AllowGroups config in preinstall
Signed-off-by: ericyuanhui <285521263@qq.com>
This commit is contained in:
@ -1412,10 +1412,11 @@ class PreinstallImpl:
|
||||
self.context.logger.log("Preparing SSH service.", "addStep")
|
||||
try:
|
||||
# Preparing SSH service
|
||||
cmd = "%s -t %s -u %s -X %s -l %s" % (
|
||||
OMCommand.getLocalScript("Local_PreInstall"),
|
||||
cmd = "%s -t %s -u %s -g %s -X %s -l %s" % \
|
||||
(OMCommand.getLocalScript("Local_PreInstall"),
|
||||
ACTION_PREPARE_USER_SSHD_SERVICE,
|
||||
self.context.user,
|
||||
self.context.group,
|
||||
self.context.xmlFile,
|
||||
self.context.localLog)
|
||||
DefaultValue.execCommandWithMode(
|
||||
|
Reference in New Issue
Block a user