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