[Openstack] possible to reset vm's password using cloud init and openstack metadata service?

Shake Chen shake.chen at gmail.com
Mon May 8 01:14:09 UTC 2017


if you want to reset password when vm running, you need use qemu guest
agent.

I think it is impossible thought cloud-init or metadata.

On Sat, May 6, 2017 at 5:04 AM, yang sheng <forsaks.30 at gmail.com> wrote:

> Hi ALL
>
> I am running Openstack Liberty  with L2 provider network in test env with
> ceph rbd.
>
> VMs are booted from volume (create volume from image during creation) and
> using metadata service and cloud init to inject password/ sshkey, initial
> command and so on.
>
> I cloud reset password by deleting the vm (keep the root volume) then
> re-create using the same IP.
>
> I am wondering that is it possible to use cloud init / metadata service to
> reset password?
>
> Not sure if it is doable:
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>


-- 
Shake Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170508/b23fce37/attachment.html>


More information about the Openstack mailing list