I struggled for a while trying to figure out why all of my lxc containers would show (root) instead of the hostname that I type in during creation. I figured it out.
In Proxmox 9.1.4, when creating lxc containers, you must set and confirm the Password first, then enter the Hostname.
If you move left-to-right and set the Hostname first then Password, Hostname will automatically revert back to "root."
In Proxmox 9.1.4, when creating lxc containers, you must set and confirm the Password first, then enter the Hostname.
If you move left-to-right and set the Hostname first then Password, Hostname will automatically revert back to "root."