Skip to content

Instantly share code, notes, and snippets.

View dualvtable's full-sized avatar

Pramod Ramarao dualvtable

View GitHub Profile
@dualvtable
dualvtable / setup_vmi_nvidia.sh
Last active June 26, 2024 18:23
Simple script for setting up NVIDIA software on bare-metal
#!/usr/bin/env bash
# author: com/github/dualvtable
set -eo pipefail
check_root()
{
if [[ $EUID -ne 0 ]]; then
echo "This installer must be run as root."
exit 1