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 r...@1.server.com</key>
        </authorized_key>
      </authorized_keys>
......
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/GK2JGVJ4PAA3ONC2YDVOQEHXBW237H4N/

Reply via email to