> Do I need to do some changes on CS? No just on the template. /etc/cloud/cloud-config if memory serves me correctly.
> Will change password script of CS still work if I use cloud-init? Yes. http://shankerbalan.net/blog/cloud-init-supports-cloudstack-as-data-source/ On 7 January 2016 at 09:11, S. Brüseke - proIO GmbH <s.brues...@proio.com> wrote: > Hi Ian, > > thank you for the link. I am not really familiar with cloud-init. Do I > need to do some changes on CS? > Will change password script of CS still work if I use cloud-init? > > Mit freundlichen Grüßen / With kind regards, > > Swen > > > -----Ursprüngliche Nachricht----- > Von: Ian Duffy [mailto:i...@ianduffy.ie] > Gesendet: Donnerstag, 7. Januar 2016 09:55 > An: users@cloudstack.apache.org; S. Brüseke - proIO GmbH > Betreff: Re: Working Debian template > > In order to get the functionality you desire the cloud-init config must be > modified in order to enable hosts file management. > > Please see > > https://github.com/number5/cloud-init/blob/master/doc/examples/cloud-config.txt#L408-L482 > for a full documented cloud-config example. > > Thanks, > Ian. > > On 7 January 2016 at 08:49, S. Brüseke - proIO GmbH <s.brues...@proio.com> > wrote: > > > Hi Glenn, > > > > thank you for your reply. Can you please check if /etc/hosts will be > > updated in your templates? As far as my testing goes it will not be > > updated after first boot of an instance created out of a template. It > > will still show a "127.0.1.1" entry. After the second boot it will add > > a correct entry at the end of the file, but still leave the "127.0.1.1" > entry in /etc/hosts. > > > > Mit freundlichen Grüßen / With kind regards, > > > > Swen Brüseke > > > > > > proIO GmbH > > Kleyerstr. 79 - 89 / Tor 13 > > D-60326 Frankfurt am Main > > > > Mail: s.brues...@proio.com > > Tel: +(49) (0) 69 739049-15 > > Fax: +(49) (0) 69 739049-25 > > Web: www.proio.com > > > > - Support - > > Mail: supp...@proio.com > > 24h: +(49) (0) 1805 522 855 > > > > Von: Glenn Wagner [mailto:glenn.wag...@shapeblue.com] > > Gesendet: Donnerstag, 7. Januar 2016 09:43 > > An: users@cloudstack.apache.org; S. Brüseke - proIO GmbH > > Betreff: Re: Working Debian template > > > > Hi, > > > > We have created a few of these for projects, using the same documents > > if you want a quick template you can try > > http://dl.openvm.eu/cloudstack/debian/vanilla/old/x86_64/ > > > > Thanks > > Glenn > > > > > > > > > > > > > > Glenn Wagner > > > > Senior Consultant > > , > > ShapeBlue > > > > > > d: > > | s: +27 21 527 0091 > > | > > m: > > +27 73 917 4111 > > > > e: > > glenn.wag...@shapeblue.com | t: > > | > > w: > > www.shapeblue.com > > > > a: > > 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 > > South Africa > > > > > > 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 SA Pty Ltd is a company > > registered by The Republic of South Africa and is traded under license > > from Shape Blue Ltd. ShapeBlue is a registered trademark. > > 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. > > > > ________________________________________ > > From: S. Brüseke - proIO GmbH <s.brues...@proio.com> > > Sent: Thursday, January 7, 2016 3:09 AM > > To: users@cloudstack.apache.org > > Subject: Working Debian template > > > > Hi, > > > > does someone created a working template with Debian 7 for CS? > > I used > > http://docs.cloudstack.apache.org/projects/cloudstack-administration/e > > n/4.6/templates.html#creating-a-linux-template > > but still have a problem with /etc/hosts. > > I also tried https://gist.github.com/makuk66/6379642 and the fork at > > https://gist.github.com/srics/8e59654004fc38bed9fe > > > > But I can still see "127.0.1.1 localhost.cs2cloud.internal localhost" > > and no replacement with the dhcp ip and the active hostname. hostname > > itself was changed to the correct one. > > > > Any ideas? > > > > Mit freundlichen Grüßen / With kind regards, > > > > Swen > > > > > > > > > > - proIO GmbH - > > Geschäftsführer: Swen Brüseke > > Sitz der Gesellschaft: Frankfurt am Main > > > > USt-IdNr. DE 267 075 918 > > Registergericht: Frankfurt am Main - HRB 86239 > > > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > > Informationen. > > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich > > erhalten haben, informieren Sie bitte sofort den Absender und > > vernichten Sie diese Mail. > > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail > > sind nicht gestattet. > > > > This e-mail may contain confidential and/or privileged information. > > If you are not the intended recipient (or have received this e-mail in > > error) please notify > > the sender immediately and destroy this e-mail. > > Any unauthorized copying, disclosure or distribution of the material > > in this e-mail is strictly forbidden. > > Find out more about ShapeBlue and our range of CloudStack related > services: > > IaaS Cloud Design & Build | CSForge – rapid IaaS deployment framework > > CloudStack Consulting | CloudStack Software Engineering CloudStack > > Infrastructure Support | CloudStack Bootcamp Training Courses > > > > - proIO GmbH - > > Geschäftsführer: Swen Brüseke > > Sitz der Gesellschaft: Frankfurt am Main > > > > USt-IdNr. DE 267 075 918 > > Registergericht: Frankfurt am Main - HRB 86239 > > > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > > Informationen. > > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich > > erhalten haben, informieren Sie bitte sofort den Absender und > > vernichten Sie diese Mail. > > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail > > sind nicht gestattet. > > > > This e-mail may contain confidential and/or privileged information. > > If you are not the intended recipient (or have received this e-mail in > > error) please notify > > the sender immediately and destroy this e-mail. > > Any unauthorized copying, disclosure or distribution of the material > > in this e-mail is strictly forbidden. > > > > > > > - proIO GmbH - > Geschäftsführer: Swen Brüseke > Sitz der Gesellschaft: Frankfurt am Main > > USt-IdNr. DE 267 075 918 > Registergericht: Frankfurt am Main - HRB 86239 > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. > Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich > erhalten haben, > informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind > nicht gestattet. > > This e-mail may contain confidential and/or privileged information. > If you are not the intended recipient (or have received this e-mail in > error) please notify > the sender immediately and destroy this e-mail. > Any unauthorized copying, disclosure or distribution of the material in > this e-mail is strictly forbidden. > > >