core os password reset

Florian Rommel florian at datalounges.com
Wed Sep 16 12:31:10 UTC 2020


Hi Michael.
So, if I remember coreOS correctly, its the same as all of the cloud based images. It uses SSH keys to authenticate. If you have a an SSH public key in there where you do no longer have the private key for, you can “easily” reset it by 2 ways.
1. If its volume based instance, delete the instance but not the volume. Create the instance again by adding your own ssh key into the boot process. This will ADD the ssh key, but not overwrite the existing one in the authorized_key file
2. If it is normal ephermal disk based instance, make a snapshot and create a new instance from the snapshot, adding your own ssh key into it.

Either or, if they are ssh key authenticated (which they should be), there isn’t really an EASY way unless you want to have the volume directly.

Best regards,
//Florian 

> On 16. Sep 2020, at 13.53, Michael STFC <mtint.stfc at gmail.com> wrote:
> 
> Hi  
> 
> New to openstack and wanting to know how to get  boot core os and reset user core password. 
> 
> Please advise.
> 
> Michael





More information about the openstack-discuss mailing list