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 root(a)1.server.com</key>
</authorized_key>
</authorized_keys>
......
Show replies by date