Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

Cloud images are made in such a way that a tool named cloud-init is used for setting the host names, usernames, passwords etc.

Let us assume that the image that you are using to spawn a instance is a cloud-init enabled Ubuntu image, While launching that image via horizon there is a post-creation tab. Click it and enter the following lines:-

cloud-config

password: abcd1234 chpasswd: { expire: False } ssh_pwauth: True hostname: myhostname

Wait for the VM to spawn. When asked for login user name would be ubuntu and password abcd1234

This is just an example, There are many things you can do via cloud-init scripts.

- Prateek