Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] - Allow setting root password #26

Open
thehunmonkgroup opened this issue Feb 21, 2020 · 3 comments
Open

[Feature] - Allow setting root password #26

thehunmonkgroup opened this issue Feb 21, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@thehunmonkgroup
Copy link

Is your feature request related to a problem? Please describe.
There is no way currently to set the root password that ends up in the snapshot. This is problematic, as if VMs created from the snapshot have network issues, it's much harder to log in via the NoVNC feature.

Describe the solution you'd like
A simple root_password parameter which would then be passed to the server creation that the snapshot is built from.

@thehunmonkgroup thehunmonkgroup added the enhancement New feature or request label Feb 21, 2020
@mkrn
Copy link

mkrn commented Jun 28, 2021

Any workarounds to this? Currently not able to sign in to created instances at all. It requires password even though I've added pub key to ~/.ssh/authorized_keys and added SSH key through Vultr panel

@ddymko
Copy link
Contributor

ddymko commented Jun 28, 2021

@mkrn

The work around now to change the PW would be to run

chpasswd --encrypted << 'EOF'
root:<hashed-password-here>
EOF

We'll work on getting root_password parameter added in quickly and hopefully have a new release be EOW

@ddymko
Copy link
Contributor

ddymko commented Jul 2, 2021

Hey @mkrn I did some digging into this and supporting root password isn't something that we will be able to do since the API doesn't support this.

You will have to continue to use a script such as

chpasswd --encrypted << 'EOF'
root:<hashed-password-here>
EOF

to provision the PW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants