New Question

Revision history [back]

Hi Cloudbase team,

Wonder if you can help us figure out how to give users the option set a password via user-data. Currently CBI is setting a random password and posting encrypted to OpenStack metadata which is all well and good. However some users would like to set a password through user-data and it always seems to end up the random password instead. Possibly this is because SetUserPasswordPlugin is running after UserDataPlugin? For example, passing a script like this:

ps1

ends up with Administrator having a random (but retrievable) password, another admin having mySecurePassword (great) and some file created so we know the script is running OK.

We thought the random password would be overridden by user data but are not seeing that behavior. Any tips to give users a choice?

thanks you for any help! Ben

 2 None avladu 613 ●1 ●3 ●5

Hi Cloudbase team,

Wonder if you can help us figure out how to give users the option set a password via user-data. Currently CBI is setting a random password and posting encrypted to OpenStack metadata which is all well and good. However some users would like to set a password through user-data and it always seems to end up the random password instead. Possibly this is because SetUserPasswordPlugin is running after UserDataPlugin? For example, passing a script like this:

ps1

#ps1
create a file somewheresomewhere


ends up with Administrator having a random (but retrievable) password, another admin having mySecurePassword (great) and some file created so we know the script is running OK.

We thought the random password would be overridden by user data but are not seeing that behavior. Any tips to give users a choice?

thanks you for any help! Ben