[one-users] Contextualisation: interpreted variable during vm creation

Stéphane Bulot stephane at altern-it.com
Thu Apr 12 07:22:53 PDT 2012


Hello,

I'm trying to set encrypted (md5) user password in the context.sh file.

Here is my context section of my vm template file.
CONTEXT = [ HOSTNAME = "host-2",
            MYUSERNAME = "user-2",
            MYPASSWORD = '$1$9qqmIcc6$N4MpGPRFm6tMLVocJAU011'  ]

My template is created without any problem. Unfortunatly, as I create the
vm from this template, I get in my context.sh file
HOSTNAME=host-2
MYUSERNAME=user-2
MYPASSWORD=''
It means that MYPASSWORD string is interpreted. For example, if I have a
md5 password $1$9qqmIcc6$N4MpG/fizog, MYPASSWORD is '/fizog'
I can not figure out what is the problem. Is there something obvious I
missed?

Thanks in advance for your help.
Best regards.

-- 
Stéphane Bulot
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120412/c2116146/attachment-0001.htm>


More information about the Users mailing list