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
2022-04-28 18:37:32 +02:00
.gitignore Created .gitignore 2021-04-24 20:40:12 +02:00
install-cockpit-zfs-manager Update install-cockpit-zfs-manager 2021-11-21 15:47:50 +01:00
install-docker-portainer Create install-docker-portainer 2021-11-22 17:20:50 +01:00
proxmox-zfs-postinstall.sh Added include interfaces.d/* in network interfaces 2022-04-28 18:19:13 +02:00
README.md Update README.md 2022-04-28 18:37:32 +02:00

proxmox-zfs-postinstall

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

  • Disable pve-enterprise repo
  • Add pve-no-subscription repo
  • Upgrade system to latest version
  • Install basic tools: sudo vim ifupdown2 net-tools dnsutils ethtool git curl unzip screen iftop lshw smartmontools nvme-cli lsscsi sysstat zfs-auto-snapshot htop mc rpl
  • Configure snapshot retention for zfs-auto-snapshot interactively
  • zfs_arc_[min|max] will be calculated by size sum of all zpools in 512 MB steps
  • Configure backup of /etc folder to new zfs dataset on rpool/pveconf
  • Configure vm.swappiness interactively
  • Install checkmk Agent with optional encryption and registration
  • Added Support for Proxmox VE 7.0
  • Added Proxmox SDN features

Usage

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

wget https://github.com/bashclub/proxmox-zfs-postinstall/raw/main/proxmox-zfs-postinstall.sh
bash ./proxmox-zfs-postinstall.sh