Skip to content

Commit

Permalink
Merge pull request #1953 from Aryan-sharma11/fix-kured
Browse files Browse the repository at this point in the history
fix: Fix kured for azure-linux
  • Loading branch information
daemon1024 authored Feb 13, 2025
2 parents 3034561 + b387e94 commit 2d2297a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/controller/ka-updater-kured.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spec:
- |
grep "bpf" /rootfs/sys/kernel/security/lsm >/dev/null
[[ $? -eq 0 ]] && echo "sysfs already has BPF enabled" && rm /sentinel/reboot-required && sleep infinity
grep "GRUB_CMDLINE_LINUX.*bpf" /rootfs/etc/default/grub >/dev/null
grep 'GRUB_CMDLINE_LINUX="[^"]*lsm=[^"]*\bbpf\b[^"]*"' /rootfs/etc/default/grub >/dev/null
[[ $? -eq 0 ]] && echo "grub already has BPF enabled" && sleep infinity
cat <<EOF >/rootfs/updater.sh
#!/bin/bash
Expand Down

0 comments on commit 2d2297a

Please sign in to comment.