Hi Roger,<div><br></div><div>It is true that /bin/bash is not installed in every *nix, although it can be installed and also a symlink can be created. Taking into account that bash syntax is not completely the same as "sh" syntax, so I think is not that unreasonable to have "bash" as a requirement for OpenNebula.</div>

<div><br></div><div>Regarding the remotes/im script, they won't use "xenrc" (only applies to remotes/vmm/xen scripts), but you can change remotes/im/xen.d/xen.rb, lines 21-22.</div><div><br></div><div>XCP also offers the XCP toolstack, just saying because we are collaborating with Xen.org [1][2], although the integration is based on XAPI rather than libxl.</div>

<div><br></div><div>Regards,</div><div><br></div><div>-Tino</div><div><br></div><div>[1] <a href="http://blog.opennebula.org/?p=2118">http://blog.opennebula.org/?p=2118</a></div><div>[2] <a href="http://blog.xen.org/index.php/2011/10/24/building-opennebula-clouds-on-xcp/">http://blog.xen.org/index.php/2011/10/24/building-opennebula-clouds-on-xcp/</a><br clear="all">

--<br>Constantino Vázquez Blanco, MSc  <br>OpenNebula Project Engineer<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @tinova79<br>
<br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 11:21 AM, Roger Pau Monné <span dir="ltr"><<a href="mailto:roger.pau@entel.upc.edu">roger.pau@entel.upc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello,<br>
<br>
I've been trying to get the new Xen toolstack (libxl) to work with<br>
OpenNebula, but I have an unusual install (my Xen Hypervisor is<br>
installed in /usr/xen42) and my Dom0 machines are NetBSD powered. I've<br>
changed my paths in remotes/vmm/xen/xenrc, but it seems like scripts<br>
in remotes/im have hardcoded paths and ignore xenrc completely. Also I<br>
was wondering why /bin/bash is used in all scripts, most Linux distros<br>
come with bash by default, but this is not a rule, other OSes only<br>
come with /bin/sh, and bash is installed locally (in<br>
/usr/local/bin/bash or /usr/pkg/bin/bash), so I think all scripts<br>
should use /bin/sh instead of /bin/bash. I will continue trying to get<br>
this working, and post the results/changes if necessary.<br>
<br>
Anyone had any luck in running OpenNebula using the xl toolstack?<br>
<br>
Regards, Roger.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br></div>