Reboot after OS update on Proxmox hangs

The script that you used to create that VM, was for an older version of Proxmox. The current script utilizes the current advancements in PVE7.
If you create a manual install of HAOS in Proxmox, the outcome would be the exact same as the current script. The script only automates the process.