cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Facundo Guerrero <fguerr...@ipaddress.com.ar>
Subject Re: Creating Debian Template
Date Thu, 23 Aug 2012 15:20:27 GMT
In CentOS i solve the problem setting in /etc/sysconfig/network the
HOSTNAME=localhost.localdomain and in debian y clean the file /etc/hostname

In both system i delete the dhcp information and the udev .
delete this file /etc/udev/rules.d/70-persistent-net.rules
and this files /var/lib/dhcp/*


Then i create the template and all works fine.




El 23/08/12 09:24, claude bariot escribió:
> Thanks for repply
>
> I'm sure... It's enable.
> When I create a new instance with an CentOS provided by CS, it's running
> fine... I don't have problem about hostname.
>
> But, I use a debian template (it's a custom template), I've a hostname
> problem.
>
> regards
>
> On 23 August 2012 13:11, Tamas Monos <tamasm@veber.co.uk> wrote:
>
>> Hi,
>>
>> Are you sure DHCP is enabled in your templated VM?
>> If yes then please check that your dhcp client is actually set to retrieve
>> the hostname or not.
>>
>> Regards
>>
>> Tamas Monos                                               DDI
>> +44(0)2034687012
>> Chief Technical                                             Office
>> +44(0)2034687000
>> Veber: The Hosting Specialists               Fax         +44(0)871 522
>> 7057
>> http://www.veber.co.uk
>>
>> Follow us on Twitter: www.twitter.com/veberhost
>> Follow us on Facebook: www.facebook.com/veberhost
>>
>> -----Original Message-----
>> From: claude bariot [mailto:clobariot@gmail.com]
>> Sent: 23 August 2012 10:05
>> To: cloudstack-users@incubator.apache.org
>> Subject: Creating Debian Template
>>
>> Hi,
>>
>> I was converted a VM template in debian based and I imported it to CS via
>> UI successfully.
>>
>> problem:
>> When I create a new instance with this template and specified a "display
>> name" with a differnet hostname from the original, the new VM always
>> returns the hostname of the original template.
>>
>> The new VM don't conseder the "display name" as hostname...
>>
>> Question: Where is the best way ?
>>
>> regards
>>
>>


Mime
View raw message