diff options
Diffstat (limited to 'source/ap/lxc/lxc-slackware.in')
-rw-r--r-- | source/ap/lxc/lxc-slackware.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/source/ap/lxc/lxc-slackware.in b/source/ap/lxc/lxc-slackware.in index 545ea734..07591cbb 100644 --- a/source/ap/lxc/lxc-slackware.in +++ b/source/ap/lxc/lxc-slackware.in @@ -5,6 +5,7 @@ # Authors: # Daniel Lezcano <daniel.lezcano@free.fr> +# Updated to work with LXC 4.0.x by Matthew Chamley <mcgchamley@yahoo.co.uk> # Template for slackware by Matteo Bernardini <ponce@slackbuilds.org> # some parts are taken from the debian one (used as model) @@ -347,13 +348,16 @@ name=$3 cat <<EOF >> $path/config -lxc.utsname = $name +# Adding a . for LXC 4.0.x +lxc.uts.name = $name -lxc.mount = $rootfs/etc/fstab +# Adding .fstab for LXC 4.0.x +lxc.mount.fstab = $rootfs/etc/fstab -lxc.tty = 4 -lxc.pts = 1024 -lxc.rootfs = $rootfs +# Added .max and .path for LXC 4.0.x +lxc.tty.max = 4 +lxc.pty.max = 1024 +lxc.rootfs.path = $rootfs lxc.cgroup.devices.deny = a # /dev/null and zero |