crans_bcfg2/Python/etc/hosts
Valentin Samir 4058d53813 [dom0.xml,common_squeeze.py,clients.xml,groups.xml,hosts,ip.py] Ajout du domU dhcp et des pattes sur les vlan necessaires. Ajout de l'ip de nols dans le host des dom0
Ignore-this: 7d4ce47e15127e55802fdd2ec3987177

darcs-hash:20121025212950-3a55a-0f23333c99cdf4f437fb0fd8096ca1301c70a7b0.gz
2012-10-25 23:29:50 +02:00

28 lines
791 B
Python

# -*- coding: utf-8; mode: python -*-
include("ip")
@127.0.0.1 localhost.crans.org localhost
if not has('adm-only'):
print pubip(), pubhostname, hostname
print admip(), admhostname
else:
print admip(), admhostname, hostname+".adm", hostname
@10.231.136.7 daath.adm.crans.org daath.adm daath
if(has("komaz")):
print "138.231.135.5 irts-ext.ens-cachan.fr irts"
print "138.231.135.6 komaz-ext"
print "138.231.136.9 sable.crans.org sable"
print "138.231.136.98 charybde.crans.org charybde"
if(has("dom0")):
print "10.231.136.36 nols.adm.crans.org nols.adm nols"
@# The following lines are desirable for IPv6 capable hosts
@::1 ip6-localhost ip6-loopback
@fe00::0 ip6-localnet
@ff00::0 ip6-mcastprefix
@ff02::1 ip6-allnodes
@ff02::2 ip6-allrouters
@ff02::3 ip6-allhosts