summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 7ed066a..6072706 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -457,6 +457,10 @@ if [ "$grub" == "y" ]; then
echo "Setting up GRUB..."
$APT_INSTALL grub-pc -y
+ sed -i -e 's/^GRUB_CMDLINE_LINUX_DEFAULT="quiet"$/GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor"' \
+ $WORK/etc/default/grub
+ hydra_sudo_run chroot $WORK/ update-grub
+
if [ "$encrypt" == "y" ]; then
echo '' | $SUDO tee -a $WORK/etc/default/grub > /dev/null
echo '# Full Disk Encryption Support' | $SUDO tee -a $WORK/etc/default/grub > /dev/null