you could try to use the following bash script to setup a Proxmox system Install DietPi on Proxmox BASH script