Hi Markos, I’ve been working with libcloud with vCloud 5.5. I found that I need to make a few changes to support v5.5 including patches to the VM script handling. I’ve put these here:
https://github.com/cedadev/libcloud/blob/trunk/libcloud/compute/drivers/vcloud.py The changes are pretty much complete but I haven’t submitted a pull request yet. We have successfully tested passing shell scripts through the ex_vm_script keyword e.g. setting up an ssh key for an account on a Linux VM. I’ve not really looked at the admin password feature so can’t really comment on that. Cheers, Phil > On 27 Nov 2014, at 21:00, Markos Gogoulos <mgogou...@mist.io> wrote: > > > > Hi all, > > I'm experimenting with vCloud's driver (vCloud 1.5) and haven't managed > so far to successfully deploy Linux VMs with ssh keys. I know there are > some nice examples on > http://ci.apache.org/projects/libcloud/docs/compute/examples.html but > would appreciate further tips and advice on how you manage your vCloud > VMs deployments. > > create_node does create a VM for me, but I never get a password (there's > no AdminPassword field on vCloud's response for the VM). On vCloud 0.8 > driver I see that password is specified on create_node, but for 1.5 > there's no mention on the password. Also the username is root, or can I > specify another one as well? > > Then ex_vm_script parameter for create_node, does this expect to be a > bash script or commands? > > Thanks for any help. > > Cheers, > Markos