deploy/overlays/gke-release/node.yaml [49:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        securityContext:
          privileged: true
        command: ["/bin/sh", "-c"]
        args:
          - |
            # Disable LoadPin if it's not already disabled
            if cat /proc/cmdline | grep "loadpin"; then
              echo "LoadPin has already been disabled. Move to kmod installation."
            else
              echo "Sleep 60s until the node is ready"
              sleep 60
              echo "LoadPin is not disabled. Disabling LoadPin now."
              mkdir -p /mnt/disks
              mount /dev/disk/by-label/EFI-SYSTEM /mnt/disks
              sed -i -e 's|module.sig_enforce=0|module.sig_enforce=0 loadpin.enforce=0|g' /mnt/disks/efi/boot/grub.cfg
              umount /mnt/disks
              echo 1 > /proc/sys/kernel/sysrq
              echo b > /proc/sysrq-trigger
            fi
        volumeMounts:
        - name: dev
          mountPath: /dev
      - name: install-lustre-mods
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



helm/lustre-csi-driver/templates/csi-node.yaml [48:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        securityContext:
          privileged: true
        command: ["/bin/sh", "-c"]
        args:
          - |
            # Disable LoadPin if it's not already disabled
            if cat /proc/cmdline | grep "loadpin"; then
              echo "LoadPin has already been disabled. Move to kmod installation."
            else
              echo "Sleep 60s until the node is ready"
              sleep 60
              echo "LoadPin is not disabled. Disabling LoadPin now."
              mkdir -p /mnt/disks
              mount /dev/disk/by-label/EFI-SYSTEM /mnt/disks
              sed -i -e 's|module.sig_enforce=0|module.sig_enforce=0 loadpin.enforce=0|g' /mnt/disks/efi/boot/grub.cfg
              umount /mnt/disks
              echo 1 > /proc/sys/kernel/sysrq
              echo b > /proc/sysrq-trigger
            fi
        volumeMounts:
        - name: dev
          mountPath: /dev
      - name: install-lustre-mods
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



