Add support for mapping user uid/gid
This commit is contained in:
@@ -8,17 +8,13 @@ source "${SALT_RUNTIME_DIR}/functions.sh"
|
||||
case ${1} in
|
||||
app:start|app:init|app:gen-signed-keys)
|
||||
|
||||
configure_salt_master
|
||||
initialize_system
|
||||
|
||||
case ${1} in
|
||||
app:start)
|
||||
setup_keys
|
||||
echo "Starting salt-master..."
|
||||
exec salt-master
|
||||
;;
|
||||
app:init)
|
||||
setup_keys
|
||||
;;
|
||||
app:gen-signed-keys)
|
||||
shift 1
|
||||
gen_signed_keys ${1}
|
||||
@@ -28,7 +24,6 @@ case ${1} in
|
||||
app:help)
|
||||
echo "Available options:"
|
||||
echo " app:start - Start salt-master service. (default)"
|
||||
echo " app:init - Setup salt-master without launching the service."
|
||||
echo " app:gen-signed-keys <key_name> - Create a master_sign key pair and its signature inside ${SALT_KEYS_DIR}/generated/"
|
||||
echo " app:help - Displays this help."
|
||||
echo " [command] - Execute the specified command, eg. bash."
|
||||
|
||||
Reference in New Issue
Block a user