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

Reply via email to