No description
Find a file
2026-05-23 19:36:11 +00:00
lxc-bootstrap.sh Update lxc-bootstrap.sh 2026-05-23 19:36:11 +00:00
README.md Update README.md 2026-05-23 19:33:52 +00:00

lxc-bootstrap

A bootstrap script for new Proxmox LXC containers.

What it does

  • Updates packages
  • Installs sudo and neovim
  • Creates a system user app_user
  • Checks hostname and prompts if not set
  • Generates a README in /home/app_user/README.md with basic container info

Usage

Run this inside a fresh LXC as root:

wget -qO- https://git.geertrademakers.nl/master/pve-setup-scripts/raw/branch/main/lxc-bootstrap.sh | bash

Requirements

  • Debian 12 (Bookworm) LXC
  • Run as root

After running

  • Set mounted storage paths in /home/app_user/README.md
  • Check hostname is correct in Proxmox UI if changed by script

Changelog

v1.0

  • Initial version