[SOLVED] LXC container names all show "root" (when using Password manager)

pongomongo

New Member
Jan 8, 2026
7
0
1
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."
 
Hey,

I could not reproduce this. I also can't imagine how that would work cause the form data is sent at the end and the order in which things are filled out is not saved anywhere. Just to be sure, after CT creation, the command hostname in the CT outputs root? If you don't specify a hostname at all, it should end up being CT<VMID>. What template are you using?
 
Interesting...

It only seems to happen when I use my password manager to input the passwords. If I manually type in the passwords, the hostname does not change.
If I use the password manager to fill the password after setting hostname, then hostname auto-changes to "root."

I have mostly made LXCs with ubuntu 24.04 templates, but this phenomenon occurs prior to choosing a template.

To clarify what is happening: if I create an LXC, then specify a hostname, then use my password manager to input the passwords, the hostname field automatically goes to "root" in the LXC creation window (this is easy to not notice). If I don't notice this auto-change and proceed with LXC creation, then in the far left server view column, the LXC name shows (For example): 100 (root).
 
Last edited:
That clears it up quite a bit. Your password manager just mistakes the hostname field for a username-field and fills it accordingly. This has nothing to do with PVE, at least there isn't really anything we could do about how your pw manager detects relevant html form fields. My best guess is that since that's the only field that has 'name' in its name, the manager just maps it to username.