This script is designed to run on a fresh installed Proxmox server, configures pve-no-subscription repository, adjusts zfs_arc_cache and installs basic tools like zfs-auto-snapshot or ifupdown2
Go to file
Thorsten Spille e5a2e024a7
Update postinstall
Add systemd-boot to required tools
2024-12-15 16:14:11 +01:00
.gitignore Created .gitignore 2021-04-24 20:40:12 +02:00
postinstall Update postinstall 2024-12-15 16:14:11 +01:00
README.md Update README.md 2023-11-21 15:29:16 +01:00

proxmox-zfs-postinstall

This script installs and configures basic tools for running a Proxmox Server. Following settings are made:

  • Install and configure zfs-auto-snapshot
  • Switch pve-enterprise/pve-no-subscription/pvetest repo
  • Switch ceph repo between quincy/reef and enterprise/no-subscription/test or remove it
  • Disable "No subscription message" in webinterface in no-subscription mode
  • Add pve-enterprise subscription key
  • Update system to the latest version
  • Install common tools
  • Install Proxmox SDN Extensions
  • Configure automatic backup of /etc Folder
  • Configure locales
  • SSH server hardening
  • Install checkzfs
  • Install bashclub-zsync
  • Create zfspool storage for swap disks if not exists
  • Adjust default volblocksize for Proxmox zfspool storage
  • Configure proxmox mail delivery with postfix
  • Daily check (and download) for new stable virtio-win iso and prune old (unused) versions

Usage

Just download and execute the script, all settings are made interactively.

wget -O ./postinstall --no-cache https://github.com/bashclub/proxmox-zfs-postinstall/raw/dev/postinstall
bash ./postinstall

Author

Thorsten Spille