Makes sense, I've just filled an issue for this... http://dev.opennebula.org/issues/1781
Thanks Ruben On Thu, Feb 21, 2013 at 9:59 AM, Rolandas Naujikas < [email protected]> wrote: > Hi, > > I just found, that if context.sh variables contains character $ in value, > then it is interpreted as variable name. > > As a workaround (partial) I put > > sed -e "s/=\"/='/" -e "s/\"$/'/" < /mnt/context.sh > /tmp/context.sh > . /tmp/context.sh > rm /tmp/context.sh > > into my init.sh. > > Probably it would be better to escape $ and other characters in values or > put values to single quotes (what makes difficult to pass single quotes > itself in values also). > > Regards, Rolandas Naujikas > ______________________________**_________________ > Users mailing list > [email protected] > http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org > > -- > Ruben S. Montero, PhD > Project co-Lead and Chief Architect > OpenNebula - The Open Source Solution for Data Center Virtualization > www.OpenNebula.org | [email protected] | @OpenNebula > <http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
