pve-scripts

Just copy & paste into your PVE shell 😎

⚠️ Important Notice

All scripts provided here have been tested on multiple Proxmox VE environments and scenarios. However, every system is different β€” please proceed with caution.

🧰 vdsm-arc-toolkit.sh

All-in-one toolkit for vDSM.Arc Loader by AuxXxilium on your Proxmox VE host.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/vdsm/vdsm-arc-toolkit.sh)"
Show included scripts

βš™οΈ vdsm-arc-install.sh

Automated installer for vDSM.Arc Loader

  • Default settings:
    • CPU: 2 cores
    • RAM: 4096MB
    • NIC: vmbr0
    • Storage: Selectable
  • Supported filesystem types: dir, btrfs, nfs, cifs, lvm, lvmthin, zfs, zfspool
bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/vdsm/vdsm-arc-install.sh)"

πŸ”„ vdsm-arc-update.sh

Automated update script for vDSM.Arc Loader on an existing VM.

  • Replaces boot image. Rebuild of the loader is required!
  • vDSM.Arc is mapped as SATA0
  • Backs up old boot disk as β€œunused disk”
bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/vdsm/vdsm-arc-update.sh)"

πŸ’Ύ vm-disk-update.sh

Adds additional virtual or physical disks to an existing VM on your Proxmox VE host.

  • Supported filesystem types: dir, btrfs, nfs, cifs, lvm, lvmthin, zfs, zfspool
  • Supported -physical- disk types: sata, nvme, usb
bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/vdsm/vm-disk-update.sh)"

πŸ”— tailscale-subnet-router.sh

Automatically creates an unprivileged Ubuntu 22.04 LXC container on Proxmox and configures it as a Tailscale subnet router.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/tailscale/tailscale-subnet-router.sh)"
Show Add-on scripts

βš™οΈ tailscale-watchdog-addon.sh

Self-healing Watchdog Add-On for Tailscale LXCs

An automated bash script that monitors Tailscale connectivity by pinging random online peers (from your own tailscale network). It automatically restarts tailscaled upon connection loss and includes built-in logging and cron integration.

  • logs /var/log/tailscale-watchdog.log
  • script /usr/local/bin/tailscale-watchdog.sh
  • cronjob crontab -e

❯ Execute inside LXC container!

bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/tailscale/tailscale-watchdog-addon.sh)"

πŸ’» pve-laptop-hibernation.sh

Disables all hibernation modes to allow Proxmox VE to run smoothly on a laptop.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/other/pve-laptop-hibernation.sh)"

♻️ pve8-to-pve9.sh

This script automates the upgrade process from Proxmox VE 8 (Debian Bookworm) to Proxmox VE 9 (Debian Trixie) for systems using the no-subscription repository only.

Saves APT sources, installs keyrings, sets new repos and upgrades the system.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/And-rix/pve-scripts/main/other/pve8-to-pve9.sh)"
🌐 View GitHub Repository