diff options
author | Loïc Hoguin <[email protected]> | 2018-05-22 10:31:35 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-22 10:31:35 +0200 |
commit | d4ed1acf01eec12d199118af8116397e688af622 (patch) | |
tree | 1650da99219bc5e3b05ea5758bd0d19a2c13d8cd | |
parent | 704f500203d2c21a9867d9e97f64cab4c78d799f (diff) | |
download | ci-d4ed1acf01eec12d199118af8116397e688af622.tar.gz ci-d4ed1acf01eec12d199118af8116397e688af622.tar.bz2 ci-d4ed1acf01eec12d199118af8116397e688af622.zip |
Increase nofile limit for all containers
-rw-r--r-- | ci.d/lxc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ lxc_create() { lxc-create -n $NAME -t download -B btrfs -- --dist $1 --release $2 --arch $3 echo "lxc.start.auto = 1" >> /home/lxc/$NAME/config echo "lxc.environment = HOME=/root" >> /home/lxc/$NAME/config + echo "lxc.prlimit.nofile = 64000" >> /home/lxc/$NAME/config lxc-start -n $NAME lxc-wait -n $NAME -s RUNNING } |