Rafael,

Mail system strips scripts, could you include the code in the body of the mail 
instead?

Regards

Geoff Higginbottom

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> 
| M: +447968161581<tel:+447968161581>

[email protected]<mailto:[email protected]>

From: Rafael Weingartner [mailto:[email protected]]
Sent: 16 April 2014 12:55
To: [email protected]
Subject: Re: Ubuntu instances + cloud-init

Sure ;)
On my Ubuntu 12.04 templates I use two scripts.
One to change the root password, and the other to change the host name 
according to the one that was defined on CS.
one is in "/etc/init.d/", and it is called cloud-set-guest-password. (The 
script is attached).

and the second one is in "tc/dhcp/dhclient-exit-hooks.d/", so it is called 
right after the DHCP finishes its job. And its name is setHostName. (Also 
attached)


On Wed, Apr 16, 2014 at 7:15 AM, Nux! <[email protected]<mailto:[email protected]>> 
wrote:
On 15.04.2014 22:02, Rafael Weingartner wrote:
If that one does not work, I can show you mine. I use Ubuntu 12.04
templates ;)

Do show anyhow, don't be shy. :)


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro<http://www.nux.ro>



--
Rafael Weingärtner
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
28th-29th May 2014, Bangalore. 
Classromm<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
15th-20th September 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
22nd-27th September 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
1st-6th December 2014, Region A. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
8th-12th December 2014, Region B. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to