[one-users] fastest way to set root passwords on vms

Carlos Martín Sánchez cmartin at opennebula.org
Thu Dec 11 03:20:23 PST 2014


Hi,

On Wed, Dec 3, 2014 at 9:17 AM, Nikolaj Majorov <nikolaj at majorov.biz> wrote:

> Hello,
> I'm searching the way to set the root password on the new created VMs from
>  administrator side to be able to send notification to the user about new
> created VM with a "temporary" root password.
> Any ideas ?
>
> Regards,
> Nikolaj
>

Do you know about the contextualization [1]? Users can set their ssh public
key from the cloud view [2], and the context scripts will set it when the
VM is booted.

Or you can always use the init.sh script [3] to set the root password.

Regards,
Carlos

[1]
http://docs.opennebula.org/4.10/user/virtual_machine_setup/context_overview.html
[2]
http://docs.opennebula.org/4.10/administration/sunstone_gui/cloud_view.html#access-to-the-vm-ssh-keys
[3]
http://docs.opennebula.org/4.10/user/virtual_machine_setup/cong.html#defining-context

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmartin at opennebula.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141211/1f776574/attachment-0001.htm>


More information about the Users mailing list