wikijs-fork/dev/packer/scripts/012-grub-opts.sh

7 lines
140 B
Bash
Raw Normal View History

2022-02-18 03:16:00 +00:00
#!/bin/sh
sed -e 's|GRUB_CMDLINE_LINUX="|GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1|g' \
-i /etc/default/grub
update-grub