<div dir="ltr">Makes sense, I've just filled an issue for this... <div><br></div><div><a href="http://dev.opennebula.org/issues/1781">http://dev.opennebula.org/issues/1781</a></div><div><br></div><div style>Thanks</div>
<div style><br></div><div style>Ruben</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 9:59 AM, Rolandas Naujikas <span dir="ltr"><<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.vu.lt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I just found, that if context.sh variables contains character $ in value, then it is interpreted as variable name.<br>
<br>
As a workaround (partial) I put<br>
<br>
sed -e "s/=\"/='/" -e "s/\"$/'/" < /mnt/context.sh > /tmp/context.sh<br>
. /tmp/context.sh<br>
rm /tmp/context.sh<br>
<br>
into my init.sh.<br>
<br>
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).<br>
<br>
Regards, Rolandas Naujikas<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org<br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula
</a>
</blockquote></div></div>