wget https://github.com/WMP/proxmox-hetzner/raw/main/install-proxmox.sh
bash install-proxmox.sh --help
zfs
partition typelz4
in compress type of advanced partitioningAfter installer reboots QEMU, the script will automaticaly configure network vmbr0 for a bridged network. It will also run the Post Install Script
If you enable ACME make sure to pass an email with -e, --acme-email EMAIL
rescue
ssh:reboot
22
or the port you gave the install script.private subnet
append these lines to interface file :auto vmbr1
iface vmbr1 inet static
address 192.168.20.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '192.168.20.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.20.0/24' -o vmbr0 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1
public subnet
append these lines to interface file (first-Usable-IP/subnet)auto vmbr2
iface vmbr2 inet static
address first-Usable-IP/subnet
address first-Usable-IP/subnet
bridge-ports none
bridge-stp off
bridge-fd 0
vlan support
append these lines to interface file :
4000
in your robot panel of hetzner.auto vlan4000
iface vlan4000 inet static
address 10.0.1.5/24
mtu 1400
vlan-raw-device vmbr0
up ip route add 10.0.0.0/16 via 10.0.1.1 dev vlan4000
down ip route del 10.0.0.0/16 via 10.0.1.1 dev vlan4000
echo "options zfs zfs_arc_min=$[6 * 1024*1024*1024]" >> /etc/modprobe.d/99-zfs.conf
echo "options zfs zfs_arc_max=$[12 * 1024*1024*1024]" >> /etc/modprobe.d/99-zfs.conf
update-initramfs -u
Web GUI
https://IP_ADDRESS:8006/