Page MenuHomeVyOS Platform

Password for vyos user in Proxmox image always needs setting
Closed, InvalidPublicBUG

Description

When following the instructions to setup a Proxmox VM (https://docs.vyos.io/en/latest/installation/virtual/proxmox.html), I cannot figure out what the initial default vyos password is. Trying the usual vyos fails, along with every other guess I have come up with. Adding a serial port and using "qm terminal" to connect lets me reset the password for the vyos user and get in, so it is easy enough to work around... but seemed worth mentioning?

Also, trying to use the Proxmox web console for the new VM lets me select the "reset password" boot option, but it doesn't work - it seems to time out with an empty screen and eventually reboot again. The serial port connection and using "qm terminal <vmid>" from the Proxmox command line allowed me to do the password reset, though.

Anyway, probably a moot point given the move toward a non-default generated password, but in case this is important or helpful to anyone I wanted to report what I found. (I checked in 1.4.3 and 1.4.4)

Details

Version
1.4.4
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

bmtauer updated the task description. (Show Details)

As an update, I didn't realize originally but it seems I need to both the new VM once before the password reset option will work. If I go directly to it on first boot I get a message about no config.boot file and this not being a restore tool. Booting normally once seems to create the default config, then the password recovery option works from the serial interface.

Proxmox images don't use any default passwords.
You use this flavour incorrectly.

What is the intended way to apply configuration to a newly created proxmox flavor instance? At the page I referenced, it doesn't give any indication how to login or add a configuration under the "deploy from qcow2" section. Under the deploy from rolling release, it does mention the normal default vyos/vyos credentials.

Is there documentation somewhere else that I'm missing, or do I need to dig around in the github repos to try to figure out how this flavor is intended to be configured? I'm a little puzzled by this response, that I'm using it incorrectly. Is there direction somewhere on how to use it correctly?

Thank you.

If you use the official proxmox image, you have to use cloud-init to set login/pass for the proxmox flavors.
Feel free to improve the documentation.
Thanks.

Thank you. I see my mistake now. When I read under step 3, "Optionally, the user can attach a CDROM with an ISO as a cloud-init data source", it left me with the impression this was *optional*—that skipping this would not cause problems. I didn't realize that it would mean no default username/password would be set.

Adding "Skipping this step means no default config will exist, and you'll need to boot once normally, then again a second time and go into password recovery to set a password for the vyos account." would have save the confusion on my part, but probably isn't worthwhile as most people likely wouldn't be so silly as to skip cloud-init when it is available.

Sorry for the noise!

Viacheslav changed the task status from Resolved to Invalid.Jan 20 2026, 9:26 AM