<div dir="ltr">Hello,<div><br></div><div>I have already create vm  and configure network properties using cloud init and REST API.But now I want to implement SSH feature.So I used following XML request but it give me bad request response.</div><div><br></div><div>XML Request : </div><div><br></div><div><div>&lt;action&gt;</div><div>  &lt;vm&gt;</div><div>     &lt;initialization&gt;</div><div>       &lt;host_name&gt;arpitttt&lt;/host_name&gt;</div><div>         &lt;authorized_keys&gt;</div><div>          &lt;authorized_key&gt;</div><div>            &lt;user&gt;</div><div>             &lt;user_name&gt;root&lt;/user_name&gt;</div><div>            &lt;/user&gt;</div><div>           &lt;key&gt;ssh-rsa 75:7f:42:b6:ec:83:a4:30:a9:07:fc:41:39:d0:49 root@vishal_local.localdomain&lt;/key&gt;</div><div>          &lt;/authorized_key&gt;</div><div>       &lt;/authorized_keys&gt;</div><div>       &lt;regenerate_ssh_keys&gt;true&lt;/regenerate_ssh_keys&gt;</div><div>       &lt;dns_servers&gt;8.8.8.8&lt;/dns_servers&gt;</div><div>       &lt;nic_configurations&gt;</div><div>         &lt;nic_configuration&gt;</div><div>           &lt;name&gt;eth1&lt;/name&gt;</div><div>           &lt;boot_protocol&gt;STATIC&lt;/boot_protocol&gt;</div><div>           &lt;ip address=&quot;51.254.56.84&quot; netmask=&quot;255.255.255.255&quot; gateway=&quot;149.202.85.254&quot; /&gt;</div><div>           &lt;on_boot&gt;true&lt;/on_boot&gt;</div><div>         &lt;/nic_configuration&gt;</div><div>       &lt;/nic_configurations&gt;</div><div>       &lt;root_password&gt;Vishal@131&lt;/root_password&gt;</div><div>       &lt;user_name&gt;root&lt;/user_name&gt;</div><div>     &lt;/initialization&gt;</div><div>  &lt;/vm&gt;</div><div>  &lt;use_cloud_init&gt;true&lt;/use_cloud_init&gt;</div><div>&lt;/action&gt;</div></div><div><br></div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font color="#999999" size="2">Regards,</font></div><div><font size="2" style="background-color:rgb(255,255,255)" color="#000000"><b>Vishal Panchal</b></font></div><div><font color="#999999" size="2">Software Developer</font></div><div><b><font size="2" color="#999999">+918140283911</font></b></div><div><b><font size="2" color="#999999"><br></font></b></div><div><b><font size="2" color="#999999"><a href="http:///sculptsoft.com" target="_blank"><img src="https://docs.google.com/uc?export=download&amp;id=0B2wwaz_8FSaseDBYR1E5TEllQzQ&amp;revid=0B2wwaz_8FSasTG5uYTF0OVlBZVdOTXNvNlQzdXpMTVAzOEhVPQ"></a></font></b></div><div><b style="font-size:12.8px"> <a href="https://www.facebook.com/SculptSoft" target="_blank"><img src="https://docs.google.com/uc?export=download&amp;id=0B2wwaz_8FSasLXk1MnBoYkNCQjQ&amp;revid=0B2wwaz_8FSasdVp5WXRUbDBDZHAvc05kWDRXT0pWc2pFR1ZBPQ"></a> <a href="https://www.linkedin.com/company/sculptsoft" target="_blank"><img src="https://docs.google.com/uc?export=download&amp;id=0B2wwaz_8FSasTHdtWDNhZEVocnM&amp;revid=0B2wwaz_8FSasLzJDNFlucytkSTFGWHRpWFVhaERvenBDSnJnPQ"></a> <a href="https://twitter.com/SculptSoft" target="_blank"><img src="https://docs.google.com/uc?export=download&amp;id=0B2wwaz_8FSasaGtsMFVPVnJDdVE&amp;revid=0B2wwaz_8FSasWXJJT0ZvaklXSHNCcFFZRjZtcGF5RlJkNExvPQ"></a></b></div><div><br></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div></div></div></div></div></div></div>
</div></div>