When a user instantiates the VM and types in a good password, this line gets added to context.sh or one_env:
export PASSWORD="$PASSWORD"
Instead of ‘abc123’ the password gets set to “dollar sign - pee - ay - ess - ess…”. Obviously not what I want. I know I should use PASSWORD_BASE64 but the Windows contextualization script doesn’t understand this. It wants PASSWORD="abc123" in the context.sh file. How do I make it do this? Why does ONE add PASSWORD="$PASSWORD" - where does it get that from?
I’ve test this solution and it’s works. But i can decode all of the password that my users are using when is deploy virtual machine.
Do you have a solution to secure the password and that no one can see the password on sunstone or in cli ?
i find juste one solution, it’s to delete the attribute PASSWORD_BASE64 after the deployment.
Hmm, I’m not sure what the best way would be to keep people from looking at the password once they’ve logged into the VM. Perhaps, your solution of simply deleting the attribute.
I haven’t tried it, but maybe getting authentication and the password from LDAP, kerberos or some other mechanism?
I’d be interested in hearing other’s solution to this question.