Mark Zhitomirski
Mark Zhitomirski
> At the moment I recommend to use SOAP API, more completed. > > Here you can find some documentation, https://kb.cloud.it/api.aspx, even if I am sorry to say is not...
> ... wondering if there is a way to set ssh key when reinitializing smart vm I've worked around this issue with Ansible's authorized_key module like this: https://github.com/mz0/ansible-do/blob/ca6e487/launch-A.yml#L54
fortunately a workaround exists: * reinitilize (ConfigureIPv6=false) * from GetServerDetails get ['Value']['NetworkAdapters'][0]['IPAddresses'][0]['StartRangeIPv6'] and ['Value']['NetworkAdapters'][0]['IPAddresses'][0]['PrefixIPv6'] (for Smart VM) * add them to static IP configuration (the 7 lines below for Debian/Ubuntu)...