bashclub / proxmox-zfs-postinstall

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`

Home Page:https://sysops.tv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proxmox-zfs-postinstall

This script installs and configures basic tools for running a new Proxmox Server (Version 8+). 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
  • Install virtio-win ISO
  • Create zfspool storage for swap disks if not exists
  • Adjust default volblocksize for Proxmox zfspool storage
  • Configure proxmox mail delivery proxmox notifications (pve8)

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/main/postinstall
bash ./postinstall

Author

Thorsten Spille

About

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`

https://sysops.tv


Languages

Language:Shell 100.0%