[PVE-User] Bug into /etc/hosts in From Centos Template to Deploy

Martin Maurer martin at proxmox.com
Thu Nov 10 15:39:47 CET 2011


Hi,

Pls post your 'pveversion -v' and also a link to your template. Do you use veth or venet?

Martin

> -----Original Message-----
> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> bounces at pve.proxmox.com] On Behalf Of Charles Bijon
> Sent: Donnerstag, 10. November 2011 12:46
> To: pve-user at pve.proxmox.com
> Subject: [PVE-User] Bug into /etc/hosts in From Centos Template to Deploy
> 
> Hi,
> 
> I have just find why my services was broken. When you start a Conterner, the
> /etc/hosts file is not correctly build.
> 
> Example :
> 
> # Auto-generated hostname. Please do not remove this comment.
> 127.0.0.1 geo2620.eu.webraska.com localhost  geo2620 localhost.localdomain
> 
> 
> Instead of :
> 
> 127.0.0.1    localhost    localhost.localdomain
> 10.50.26.20    geo2620    geo2620.eu.webraska.com
> 
> Can it be a problem without using dhcp server and using vethXX network
> interface with an ip in hard in /etc/sysconfig/network-scripts/ifcfg-eth0 ?
> 
> How i can correct it ?
> 
> Regards,
> 
> Charles
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user





More information about the pve-user mailing list