← Back to team overview

cloud-init team mailing list archive

Re: Random Password


I think one of the issues is that where would this be posted back to in a generic fashion?

Cloud-init supports different datasources, some of those don't have a place to post-back to (some are read-only).

If u just want to do this for 1 case, that’s relatively easy. Just provide a shell script and use curl to send a file somewhere.

http://cloudinit.readthedocs.org/en/latest/topics/examples.html#call-a-url-when-finished is also similar (but less capable than just providing your own shell script).


From: chima s <chima.s@xxxxxxxxx<mailto:chima.s@xxxxxxxxx>>
Date: Friday, November 22, 2013 3:31 AM
To: "cloud-init@xxxxxxxxxxxxxxxxxxx<mailto:cloud-init@xxxxxxxxxxxxxxxxxxx>" <cloud-init@xxxxxxxxxxxxxxxxxxx<mailto:cloud-init@xxxxxxxxxxxxxxxxxxx>>
Subject: [Cloud-init] Random Password


Is it possible to post the random password back to metadata as done in cloudbase-init (used in windows)


Follow ups