Skip to content
This repository was archived by the owner on Jan 12, 2023. It is now read-only.
This repository was archived by the owner on Jan 12, 2023. It is now read-only.

Secure boot check does not seem to work #79

Description

@ralbertazzi

if is_secure_boot_enabled; then

I'm running the following script on a clean COS image with Secure Boot:

#!/bin/sh -eux

NVIDIA_INSTALL_DIR_HOST="/var/lib/nvidia"
NVIDIA_INSTALL_DIR_CONTAINER="/usr/local/nvidia"

mkdir -p "${NVIDIA_INSTALL_DIR_HOST}"
mount --bind "${NVIDIA_INSTALL_DIR_HOST}" "${NVIDIA_INSTALL_DIR_HOST}"
mount -o remount,exec "${NVIDIA_INSTALL_DIR_HOST}"

/usr/bin/docker run --rm \
  --privileged \
  --net=host \
  --pid=host \
  --volume /dev:/dev \
  --volume /:/root \
  --volume ${NVIDIA_INSTALL_DIR_HOST}:${NVIDIA_INSTALL_DIR_CONTAINER} \
  --env NVIDIA_DRIVER_VERSION=450.51.06 \
  gcr.io/cos-cloud/cos-gpu-installer:latest

However, the container doesn't seem to be able to detect that Secure Boot is enabled and reboots the machine. I've run dmesg outside of the container and it actually contains the string 'Secure boot enabled'.

Side question: does this installer actually support Secure Boot or it would simply exit performing no installation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions