Repositories (2)

scripts
1 snippets stored for this repo
Shell IconShell
user=$USER

[ -z "$(which curl)" ] && { echo "please install curl before running this script dumbass"; exit 1; }
[ -z "$(which git)" ] && { echo "please install git before running this script dumbass"; exit 1; }
cd /home/$user

# todo - automate adding the github key to known hosts ahead of this step
proxmox
2 snippets stored for this repo
Shell IconShell
[ -z "$user" ] && { echo "Please provide a user name dumbass"; exit 1; }
Shell IconShell
# check if target user already exists
getent passwd | grep -q ^$user && { echo user $user already exists dumbass; exit 1; }