You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the admin container starts, it takes over tty0 (understandable) and attempting to log in with root (no password) fails.
However, the user specified in user-data (bottlerocket) and the password specified by password-hash in user-data do not work -- login always fails.
However, SSHing into the host/admin container using the provided ssh.authorized-keys works. Inspecting the user-data shows that the user data was successfully applied (base64 value matches what is expected).
The text was updated successfully, but these errors were encountered:
Interestingly enough, the hash in /etc/shadow is not the same as the hash I placed in user-data. 🤔
I'd first try using base64 -w0 on the input to ensure it's not getting a newline encoded partway through, though I don't know if that would manifest as this error.
Image I'm using:
metal-dev
Issue or Feature Request:
When setting a password in user-data.toml (via base64'd user-data as described in the docs), logging in to the local console (tty0) fails.
user-data pre-base64:
Once the admin container starts, it takes over tty0 (understandable) and attempting to log in with
root
(no password) fails.However, the
user
specified inuser-data
(bottlerocket) and the password specified bypassword-hash
inuser-data
do not work -- login always fails.However, SSHing into the host/admin container using the provided
ssh.authorized-keys
works. Inspecting the user-data shows that the user data was successfully applied (base64 value matches what is expected).The text was updated successfully, but these errors were encountered: