Hello, please, how i can set ssh_key via REST API on create VM (run-once)?
Thanks
I have this XML code, but does not working:
<action>
<use_cloud_init>true</use_cloud_init>
<vm>
<initialization>
<user_name>$sudoUser</user_name>
<root_password>$rootPassword</root_password>
<authorized_keys>
<authorized_key>
<user>
<user_name>$sudoUser</user_name>
</user>
<key>ssh-rsa CENSORED [email protected]</key>
</authorized_key>
</authorized_keys>
......
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/GK2JGVJ4PAA3ONC2YDVOQEHXBW237H4N/