[ovirt-users] installation of hosts using public key

Ondra Machacek omachace at redhat.com
Thu Aug 10 13:07:28 UTC 2017


On Thu, Aug 10, 2017 at 2:12 PM, Fabrice Bacchella <
fabrice.bacchella at orange.fr> wrote:

>
> Le 10 août 2017 à 10:52, Ondra Machacek <omachace at redhat.com> a écrit :
>
>
>
> Creates a new host. The host is created based on the attributes of
>> the host parameter. The name, address and root_password properties are
>> required.
>>
>> But what to do if I don't have a root password to give ?
>>
>
> It's just true/false, you can't specify which key to use, it's using the
> default one:
>
> types.Host(
>   ssh=types.Ssh(
>    authentication_method=types.SshAuthenticationMethod.PUBLICKEY,
>   ),
>   ...
> )
>
>
> I tried, it works.
>
> But it's strange, because then, root_password which is mandatory, can be
> filled with None. So why it should be mandatory ?\
>


I think this is documentation bug, because AFAIK, it's not mandatory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170810/dd1be37c/attachment.html>


More information about the Users mailing list