crans_bcfg2/Python/etc/hosts
Nicolas Dandrimont e76fe95b25 Ajout du serveur nfs dans /etc/hosts pour que ça résolve au boot
darcs-hash:20080512164730-ffbb2-75c7cc150c1a447b753b4f8f62824501e86173fd.gz
2008-05-12 18:47:30 +02:00

17 lines
462 B
Python

# -*- coding: utf-8; mode: python -*-
include("ip")
@127.0.0.1 localhost.crans.org localhost
print pubip(), pubhostname, hostname
print admip(), admhostname
@10.231.136.2 nfs.adm.crans.org nfs.adm nfs
@10.231.136.2 vert.adm.crans.org vert.adm vert
@# 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