add timeout kill to lxc attach call to prevent resource limits from performing the kill

This commit is contained in:
Brian Seymour 2018-11-07 12:27:12 -06:00
parent 35985136ec
commit 16f4c03a80
1 changed files with 5 additions and 4 deletions

View File

@ -87,6 +87,7 @@ case "$lang" in
esac esac
# runner # runner
timeout -s KILL 10 \
lxc-attach -n piston -- \ lxc-attach -n piston -- \
/bin/bash -c "\ /bin/bash -c "\
PATH=/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin \ PATH=/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin \