Ask Your Question

kushal_vaitla's profile - activity

2016-12-30 09:04:32 -0500 answered a question What is default username and password for Ubuntu image uploaded using glance image-create ?

If you want to login directly from the horizon console then.

1: Mount the Img file

2: Create encrypted password python -c 'import crypt; print crypt.crypt("root123", "$1$SsomeSSalt$")'

$1$SsomeSSa$mHx7fXSHeerUBxukc0AZk/

  1. Edit the /etc/shadow file

(Add the string that you have generated in from of the username) eg: root:$1$SsomeSSa$mHx7fXSHeerUBxukc0AZk/:::::

save the file and launch the new instance with the image.

then you can directly login into the console.