Added install_nvidia
This commit is contained in:
parent
7b84d6f640
commit
ca76288f0f
1 changed files with 7 additions and 6 deletions
|
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Función para mostrar mensajes de error y salir
|
||||||
|
function die () {
|
||||||
|
echo -e "${RED}Error: $1${NC}" >&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
echo "Instalando Incus"
|
echo "Instalando Incus"
|
||||||
|
|
||||||
# Script para inicializar Incus (LXD) con configuraciones básicas
|
# Script para inicializar Incus (LXD) con configuraciones básicas
|
||||||
|
|
@ -10,12 +17,6 @@ GREEN='\033[0;32m'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
# Función para mostrar mensajes de error y salir
|
|
||||||
function die() {
|
|
||||||
echo -e "${RED}Error: $1${NC}" >&2
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Configuración (puedes modificar estos valores)
|
# Configuración (puedes modificar estos valores)
|
||||||
STORAGE_POOL="default"
|
STORAGE_POOL="default"
|
||||||
STORAGE_DRIVER="dir" # Puede ser 'btrfs', 'zfs', 'lvm', 'dir', etc.
|
STORAGE_DRIVER="dir" # Puede ser 'btrfs', 'zfs', 'lvm', 'dir', etc.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue