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

Charles Bijon charles at bijon.fr
Thu Nov 10 12:46:04 CET 2011


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. geo2620.eu.webraska.com localhost  geo2620 localhost.localdomain

Instead of :    localhost    localhost.localdomain    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 ?



More information about the pve-user mailing list