Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión

Todos Nuevo Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
uk's Avatar

uk / shell

0 gustos
0 bifurcaciones
9 archivos
Última actividad 1 week ago
1 #!/bin/bash
2
3 set -o errexit
4 set -o nounset
5 set -o pipefail
6
7 export TOWER_HOST=$TOWER_HOST
8 export TOWER_USERNAME=$TOWER_USERNAME
9 export TOWER_PASSWORD=$TOWER_PASSWORD
10 export VM_NAME=$VM_NAME
uk's Avatar

uk / init-os

0 gustos
0 bifurcaciones
4 archivos
Última actividad 1 week ago
1 #!/bin/bash
2
3 sudo timedatectl set-timezone Asia/Shanghai
4
5 echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee "/etc/sudoers.d/dont-prompt-$USER-for-sudo-password"
6
7 mkdir $HOME/.ssh &> /dev/null
8
9 cat > $HOME/.ssh/authorized_keys <<UK
uk's Avatar

uk / install_vmtools.sh

0 gustos
0 bifurcaciones
1 archivos
Última actividad 9 months ago
1 #!/bin/bash
2 set -e
3
4 # Define variables
5 ISO_FILENAME="SMTX_VMTOOLS-4.0.0-2506271023.iso"
6 ISO_FILE="/tmp/${ISO_FILENAME}"
7 MOUNT_POINT="/mnt/wuke-vmtools"
8
9 # Extract version from ISO filename
10 VMTOOLS_VERSION=$(echo "$ISO_FILENAME" | awk -F'-' '{print $2}')
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 96ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文