<html><body>
        <div dir="ltr">
    Our openstack env automatically injects SSH keys) and already does that with all other images I have downloaded to deployed e.g fedora cloud images and ceros cloud image.</div><div dir="ltr"><br></div><div dir="ltr">However core os is different and I have tried to edit grub added <span style="color:rgb(255,65,103);font-family:monospace,monospace;font-size:15px;font-variant-ligatures:normal;background-color:rgb(30,32,33)">coreos.autologin=tty1 but nothing.</span></div><div dir="ltr"><br></div><div dir="ltr">Also tried to do this via cloud-config</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">#cloud-config</div><div dir="ltr"><br></div><div dir="ltr">coreos:</div><div dir="ltr">    units:</div><div dir="ltr">      - name: etcd.service</div><div dir="ltr">        command: start</div><div dir="ltr"><br></div><div dir="ltr">users:</div><div dir="ltr">  - name: core</div><div dir="ltr">    passwd: coreos</div><div dir="ltr">    ssh_authorized_keys:</div><div dir="ltr">  - "ssh-rsa xxxxx"</div><div><br></div><div><br></div><div>And not luck - when vm boots it hangs.</div></div><div dir="ltr"><br>
    <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr" style="">On 16 Sep 2020 at 13:31:10, Florian Rommel <<a href="mailto:florian@datalounges.com">florian@datalounges.com</a>> wrote:<br></div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
            <div>
    Hi Michael.<br>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.<br>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<br>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.<br><br>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.<br><br>Best regards,<br>//Florian <br><br><blockquote type="cite" style=""> On 16. Sep 2020, at 13.53, Michael STFC <<a href="mailto:mtint.stfc@gmail.com">mtint.stfc@gmail.com</a>> wrote:<br></blockquote><blockquote type="cite" style=""> <br></blockquote><blockquote type="cite" style=""> Hi  <br></blockquote><blockquote type="cite" style=""> <br></blockquote><blockquote type="cite" style=""> New to openstack and wanting to know how to get  boot core os and reset user core password. <br></blockquote><blockquote type="cite" style=""> <br></blockquote><blockquote type="cite" style=""> Please advise.<br></blockquote><blockquote type="cite" style=""> <br></blockquote><blockquote type="cite" style=""> Michael<br></blockquote><br><br>
</div>
        </blockquote>
    </div>
</div>
    
</body></html>