From dd223d8a8e2ecb962af5b82aabe67ec43c2625b2 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Tue, 7 May 2019 12:31:33 +0000 Subject: [PATCH] Adding cc to admin_email for new user creations --- makeuser | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makeuser b/makeuser index 767cbe6..025f590 100755 --- a/makeuser +++ b/makeuser @@ -55,6 +55,7 @@ case $1 in # This is the welcome email for thunix sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/g" email.tmpl | sudo mail -s "Welcome to Thunix!" $2 + sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/g" email.tmpl | sudo mail -s "Welcome to Thunix!" $ADMIN_EMAIL sub_to_list $1 # This line is for team @@ -69,6 +70,8 @@ case $1 in # sudo toot "welcome new user ~$1!" #Thunix specific section + currdir=`pwd` + cd $REPO_LOCATION; git pull; cd $currdir echo "--- - name: Setting up $1 user: