summaryrefslogtreecommitdiffstats
path: root/source/ap/lxc/lxc-slackware.in
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-08-04 20:16:51 +0000
committer Eric Hameleers <alien@slackware.com>2021-08-05 08:59:56 +0200
commitf2ff678d478fb705648398cc2b44aee8868f6443 (patch)
tree1f38518dc98eaab5936a925f4e3e13ef81bc1b44 /source/ap/lxc/lxc-slackware.in
parentc596c73b678676b3a6051712dd40b01d5ddc8755 (diff)
downloadcurrent-f2ff678d478fb705648398cc2b44aee8868f6443.tar.gz
current-f2ff678d478fb705648398cc2b44aee8868f6443.tar.xz
Wed Aug 4 20:16:51 UTC 202120210804201651
a/kernel-generic-5.13.8-x86_64-1.txz: Upgraded. a/kernel-huge-5.13.8-x86_64-1.txz: Upgraded. a/kernel-modules-5.13.8-x86_64-1.txz: Upgraded. ap/dash-0.5.11.4-x86_64-1.txz: Upgraded. ap/lxc-4.0.10-x86_64-1.txz: Upgraded. Thanks to Matthew Chamley. d/kernel-headers-5.13.8-x86-1.txz: Upgraded. k/kernel-source-5.13.8-noarch-1.txz: Upgraded. n/vsftpd-3.0.5-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap/lxc/lxc-slackware.in')
-rw-r--r--source/ap/lxc/lxc-slackware.in14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/ap/lxc/lxc-slackware.in b/source/ap/lxc/lxc-slackware.in
index 545ea734b..07591cbb8 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