Skip to content

Instantly share code, notes, and snippets.

@AlexpFr
AlexpFr / custom_proxmox_config.sh
Last active January 17, 2026 01:21
Extra customisation for Proxmox in HomeLab
#!/usr/bin/env bash
# Usage:
# sudo bash install-proxmox.sh 'user_name' 'encrypted_password'
# or leave both empty to skip user creation
#
# To generate encrypted password:
# mkpasswd 'user_password' or openssl passwd -6 'user_password'
# TODO:
@AlexpFr
AlexpFr / proxmox-post-install.sh
Created January 16, 2026 21:54
HomeLab Proxmox post-install script
#!/usr/bin/env bash
# Based on https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh
# Original credit:
# # Copyright (c) 2021-2026 tteck
# # Author: tteckster | MickLesk (CanbiZ)
# # License: MIT
# # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
set -euo pipefail
@AlexpFr
AlexpFr / custom_prompt.sh
Created January 13, 2026 19:52
Linux PS1 prompt
# /etc/profile.d/custom_prompt.sh
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias vi='vim'
alias grep='grep --color=auto'
alias df='df -h'
alias dud='du -h */'
alias du='du -hs'
alias ping='ping -c 5'