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
2023-11-21 14:22:49 +01:00
.gitignore Created .gitignore 2021-04-24 20:40:12 +02:00
postinstall Update postinstall 2023-11-21 14:22:49 +01:00
README.md Add documentation 2023-10-12 16:39:26 +02: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
  • 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