Op 19-07-13 11:37, Indra Pramana schreef:
Dear all,

I tried to add password management to my templates as per this guide:

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/add-password-management-to-templates.html

It works for my CentOS template but it doesn't work for my Ubuntu
templates. I created the templates for Ubuntu 12.04.2 and Ubuntu 13.04,
download the cloud-set-guest-password script from this URL (thanks to Ian
Duffy):

https://raw.github.com/shankerbalan/cloudstack-scripts/master/cloud-set-guest-password-ubuntu

Copy the file to /etc/init.d, rename it and make it executable:

mv /etc/init.d/cloud-set-guest-password-ubuntu
/etc/init.d/cloud-set-guest-password
chmod +x /etc/init.d/cloud-set-guest-password

Add into runlevel:

update-rc.d cloud-set-guest-password defaults

But it doesn't work. Using chkconfig (as per the guide's suggestion) also
doesn't work.

Anyone can advise?

Have a look at the line with "DHCP_FOLDERS", it's not correct for Ubuntu.

We use the following:

DHCP_FOLDERS="/var/lib/dhclient/* /var/lib/dhcp/*"

I think this should be fixed, but then we need to make sure we cover all OSes.

Looking forward to your reply, thank you.

Cheers.



--
Met vriendelijke groet / Kind regards,

Lennert den Teuling

PCextreme B.V.

http://www.pcextreme.nl/contact
Tel direct: +31 (0)118 700 210

Reply via email to