Files
dokku/contrib/images/digitalocean/in_parts/012-grub-opts
T

10 lines
207 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
set -o errexit
echo '--> Update grub boot loader'
sed -e 's|GRUB_CMDLINE_LINUX="|GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1|g' \
-i /etc/default/grub
update-grub