Update installer to include logged non-interactive shell

feature/node-rewrite
Sven Slootweg 12 years ago
parent 95a3927e0a
commit 0c3809e818

@ -4,6 +4,7 @@ cp ../../runhelper/runhelper .
cp ../../console/slave/dropper .
cp ../../logshell/logshell .
cp ../../logshell/cvmshell .
cp ../../logshell/logcmd .
cp ../common/setuplib.py .
echo "Creating slave SFX..."
tar -czf - * | python ../../tools/pysfx/pysfx.py -as "python install.py" - ../slave_sfx.py
@ -12,6 +13,7 @@ rm runhelper
rm dropper
rm logshell
rm cvmshell
rm logcmd
rm setuplib.py
cd ..

@ -240,6 +240,7 @@ if enable_dropper == "y":
# Copy the logged shell
setuplib.copy_file("logshell", "/home/cvm/logshell", True, cvm_uid, cvm_gid, "u+rwx")
setuplib.copy_file("cvmshell", "/home/cvm/cvmshell", True, cvm_uid, cvm_gid, "u+rwx")
setuplib.copy_file("logcmd", "/home/cvm/logcmd", True, cvm_uid, cvm_gid, "u+rwx")
sys.stdout.write("Installed logged shell.\n")
if os.path.exists("/etc/sudoers.lock"):

Loading…
Cancel
Save