add swift notes, delete hidden files

This commit is contained in:
Brian Seymour 2018-11-01 19:44:25 -05:00
parent 23ffb605e1
commit 208d91c237
2 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,7 @@ lxc-attach -n piston -- \
lxc-attach -n piston -- \
/bin/bash -c "\
for i in {1..100}; do pkill -u runner$newinc --signal SIGKILL; done ;\
find /tmp/* -user runner$newinc -exec /bin/rm -rf {} \;\
find /tmp -user runner$newinc -exec /bin/rm -rf {} \;\
" > /dev/null 2>&1 &
rm -rf $basepath/tmp/$epoch

View File

@ -16,6 +16,8 @@ apt-get update
apt-get -y install ubuntu-make
apt-get -y install git tzdata nano dpkg-dev build-essential python python3 ruby nodejs golang php7.2 r-base mono-complete nasm openjdk-8-jdk
umake swift
set dir to /opt
ln -s /opt/swift/usr/bin/swift /usr/bin/swift
# create users and apply limits