Skip to content

Commit

Permalink
Add cgroup fstab entry for LXC
Browse files Browse the repository at this point in the history
  • Loading branch information
dderby committed Jun 20, 2015
1 parent 3c2a87a commit f0cc83b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ $MYDOCSDEVICE /srv/fremantle/home/user/MyDocs vfat nodev,noexec,nosuid,noatime,n
EOF
fi

if [ x$ENABLE_LXC = xY ] || [ x$ENABLE_LXC = xy ]; then
echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> $MOUNTPOINT/etc/fstab
fi

# Change power button behaviour
if [ x${POWER_BUTTON_ACTION:-} != x ]; then
sed -i 's/\(action=\).*$/\1'$POWER_BUTTON_ACTION'/' $MOUNTPOINT/etc/acpi/events/powerbtn-acpi-support
Expand Down

0 comments on commit f0cc83b

Please sign in to comment.