forked from team/makeuser
add parameters to makeuser_no_ansible function call, to use local variables
This commit is contained in:
parent
4574a848a1
commit
64cdfacdb2
2
makeuser
2
makeuser
|
@ -24,7 +24,7 @@ case $1 in
|
||||||
*)
|
*)
|
||||||
[[ $# -ne 3 ]] && error_exit "not enough args"
|
[[ $# -ne 3 ]] && error_exit "not enough args"
|
||||||
|
|
||||||
makeuser_no_ansible #adding new user
|
makeuser_no_ansible $1 $2 #adding new user
|
||||||
|
|
||||||
#Thunix specific section
|
#Thunix specific section
|
||||||
currdir=`pwd`
|
currdir=`pwd`
|
||||||
|
|
|
@ -23,7 +23,7 @@ case $1 in
|
||||||
*)
|
*)
|
||||||
[[ $# -ne 3 ]] && error_exit "not enough args"
|
[[ $# -ne 3 ]] && error_exit "not enough args"
|
||||||
|
|
||||||
makeuser_no_ansible #adding new user
|
makeuser_no_ansible $1 $2 #adding new user
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue