cloud-init and cloud-config is how one can add a password to a cloud image though it is NEVER recommended.
See: http://cloudinit.readthedocs.io/en/latest/topics/examples.html and read about users and groups and mkpasswd cloud-init will read this at vm boot time and apply the cloud-config (presuming you have cloud-init service installed in your image--which you should) On Wed, Aug 31, 2016 at 4:54 AM, Brent Troge <brenttroge2...@gmail.com> wrote: > You can also mount the image file and modify the user , password, sshd, > etc files accordingly. Once changes saved and image unmounted upload into > glance. > You now have an image with a known user password. > > On Aug 30, 2016 2:30 PM, "Turbo Fredriksson" <tu...@bayour.com> wrote: > >> On Aug 30, 2016, at 3:07 PM, Kevin Wilson wrote: >> >> > While googling for it, I saw that someone said that logging in via >> > user/password credentials is not possible for this image, but I doubt >> > it. How one is expected to login into console and not via ssh without >> > such credentials? >> >> Very few (any??) cloud images have password login enabled. Probably >> because this is a _cloud_ image. Anyone, anywhere can download it, >> and if there was a default PW, then anyone could login. >> >> Instead, you add your SSH key to OS, and then add that to the instance. >> >> >> Look in Horizon, under "Project -> Compute -> Access & Security -> Key >> Pairs" >> and then "Project -> Compute -> Instances -> Launch Instance -> Key Pair". >> >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi >> -bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> Unsubscribe : http://lists.openstack.org/cgi >> -bin/mailman/listinfo/openstack >> > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack