Revision history [back]

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.