Commit ad39ab3a authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Remove testbed source and object trees from inner ops once the node is

constructed. This is avoid the emulab source code leaking out too

We leave it on boss, since at the moment mere users do not get shells
on inner boss, so getting the source code that way is a bit harder
(although not that hard of course). Besides, for development its much
nicer to have that source left on boss.
parent 09ebaa0b
......@@ -472,6 +472,15 @@ sub SetupOpsNode()
mysystem("cp ${TBDIR}/testbed/src/testbed/tmcd/common/rc.inelab ".
" /usr/local/etc/emulab/rc/rc.inelab");
# Remove source code from ops 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.
Supports Markdown
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