Commit 4d672c3d authored by Gary Wong's avatar Gary Wong

Merge in the changes on gtw-protogeni-config branch which aren't actually

related to protogeni config.
parent f74a0c43
......@@ -389,7 +389,7 @@ sub AddUser()
if (system("$SSH -host $CONTROL ".
"'$USERADD $user -u $user_number -c \"$fullname\" ".
"-k /usr/share/skel -h - -m -d $HOMEDIR/$user ".
"-g $default_groupname -s /bin/tcsh'")) {
"-g $default_groupname -s $shellpaths{$usr_shell}'")) {
if (($? >> 8) != $USEREXISTS) {
fatal("Could not add user $user ($user_number) to $CONTROL.");
}
......
. defs-default
TBOPSEMAIL=gtw@flux.utah.edu
TBLOGSEMAIL=gtw@flux.utah.edu
TBWWWEMAIL=gtw@flux.utah.edu
TBAPPROVALEMAIL=gtw@flux.utah.edu
TBLOGSEMAIL=gtw@flux.utah.edu
TBAUDITEMAIL=gtw@flux.utah.edu
TBSTATEDEMAIL=gtw@flux.utah.edu
TBTESTSUITEEMAIL=gtw@flux.utah.edu
WWW=www.emulab.net/dev/gtw
......@@ -719,14 +719,8 @@ sub SetupFsNode()
return
if ($NOSETUP);
#
# Remove source code from fs so that mere users do not get access to it.
# Something to do with licensing ...
#
mysystem("cp -p ${TBDIR}/testbed/src/testbed/defs-elabinelab ".
" ${TBDIR}/testbed/src");
mysystem("rm -rf ${TBDIR}/testbed/src/testbed");
mysystem("rm -rf ${TBDIR}/testbed/obj/testbed");
#
# Copy the mirror tree into place. Do not use rsync.
......
......@@ -700,14 +700,8 @@ sub SetupFsNode()
return
if ($NOSETUP);
#
# Remove source code from fs so that mere users do not get access to it.
# Something to do with licensing ...
#
mysystem("cp -p ${TBDIR}/testbed/src/testbed/defs-elabinelab ".
" ${TBDIR}/testbed/src");
mysystem("rm -rf ${TBDIR}/testbed/src/testbed");
mysystem("rm -rf ${TBDIR}/testbed/obj/testbed");
#
# Copy the mirror tree into place. Do not use rsync.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment