cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Duffy <>
Subject Debian + Cloud-Init
Date Mon, 23 Jun 2014 17:09:30 GMT
Hi All,

In the past i've used the community supplied scripts over at for doing injection of
password / ssh keys.

I'm trying to move to cloud-init to handle this for me however I am having
some issues.

I modified my /etc/cloud/cloud.cfg file to use CloudStack as a datasource:

datasource_list: ['CloudStack']


  CloudStack: {}

I also set the following:

disable_root: False

user: root

ssh_pwauth: True

ssh_deletekeys: True

ssh_genkeytypes: ['rsa', 'dsa']

ssh_svcname: ssh

On booting up the machine I see the script run successfully and pull the
metadata down from the VR. The hostname is also set and new ssh keys are

On attempting to login as root with the password provided on the Cloudstack
UI I am unsuccessful. I'm unsure why.

Anybody got an idea where I'm going wrong?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message