[one-users] Adding a host via Sunstone with non-standard manager(s)
Hector Sanjuan
hsanjuan at opennebula.org
Wed Dec 21 07:52:47 PST 2011
Hi,
The most immediate way to get there is to hack the hosts-tab.js plugin
file:
http://dev.opennebula.org/projects/opennebula/repository/revisions/release-3.0/entry/src/sunstone/public/js/plugins/hosts-tab.js
(around line 57 you can see the html for the host creation dialog with the
<options>)
Alternatively, it may be more convenient to create a user plugin for
sunstone that does that job. i.e: a simple file containing something like
this:
https://gist.github.com/1506466 (i haven't tested it, but it should do the
job)
It will prepend another option to the host transfer driver select. This
should be placed under /usr/lib/one/sunstone/public/js/user-plugins/ .
Also remember to add the plugin to the etc/one/sunstone-plugins.yaml
config file stating the same options as the normal hosts-tab.js plugin.
Hope it helps,
Hector
En Wed, 21 Dec 2011 15:10:42 +0100, Humberto N. Castejon Martinez
<humcasma at gmail.com> escribió:
> Hi,
>
> Adding a host via Sunstone does not allow to specify managers different
> than the standard ones (e.g. if a new image transfer manager is created,
> it
> cannot be selected in Sunstone). This would be desirable. Or is there a
> way
> to configure the list of available managers to select from in Sunstone?
>
> Cheers,
> Humberto
>
>>
--
Hector Sanjuan
OpenNebula Developer
More information about the Users
mailing list