Loading helm/scripts/create_remote_users.sh +1 −5 Original line number Diff line number Diff line Loading @@ -10,14 +10,13 @@ help() { echo "Usage: $1 <options>" echo " -u : User prefix to use" echo " -p : Password to set for user" echo " -l : Local usage of script (default true)" echo " -t : Total user to create (default 1)" echo " -h : show this help" exit 1 } # Read params while getopts ":u:p:l:t:h" opt; do while getopts ":u:p:t:h" opt; do case $opt in u) USERNAME_PREFIX="$OPTARG" Loading @@ -25,9 +24,6 @@ while getopts ":u:p:l:t:h" opt; do p) USER_PASSWORD=$OPTARG ;; l) LOCAL=$OPTARG ;; t) TOTAL_USERS=$OPTARG ;; Loading helm/scripts/remove_remote_users.sh +1 −5 Original line number Diff line number Diff line Loading @@ -7,20 +7,16 @@ USERNAME_PREFIX= help() { echo "Usage: $1 <options>" echo " -u : User prefix to use" echo " -l : Local usage of script (default true)" echo " -h : show this help" exit 1 } # Read params while getopts ":u:p:l:t:h" opt; do while getopts ":u:p:t:h" opt; do case $opt in u) USERNAME_PREFIX="$OPTARG" ;; l) LOCAL=$OPTARG ;; h) help ;; Loading Loading
helm/scripts/create_remote_users.sh +1 −5 Original line number Diff line number Diff line Loading @@ -10,14 +10,13 @@ help() { echo "Usage: $1 <options>" echo " -u : User prefix to use" echo " -p : Password to set for user" echo " -l : Local usage of script (default true)" echo " -t : Total user to create (default 1)" echo " -h : show this help" exit 1 } # Read params while getopts ":u:p:l:t:h" opt; do while getopts ":u:p:t:h" opt; do case $opt in u) USERNAME_PREFIX="$OPTARG" Loading @@ -25,9 +24,6 @@ while getopts ":u:p:l:t:h" opt; do p) USER_PASSWORD=$OPTARG ;; l) LOCAL=$OPTARG ;; t) TOTAL_USERS=$OPTARG ;; Loading
helm/scripts/remove_remote_users.sh +1 −5 Original line number Diff line number Diff line Loading @@ -7,20 +7,16 @@ USERNAME_PREFIX= help() { echo "Usage: $1 <options>" echo " -u : User prefix to use" echo " -l : Local usage of script (default true)" echo " -h : show this help" exit 1 } # Read params while getopts ":u:p:l:t:h" opt; do while getopts ":u:p:t:h" opt; do case $opt in u) USERNAME_PREFIX="$OPTARG" ;; l) LOCAL=$OPTARG ;; h) help ;; Loading