Ajout du /etc/hosts dans bcfg2
darcs-hash:20080210234802-41f88-476656ee4e40c083e475188f3eb1a4ec74d89e47.gz
This commit is contained in:
parent
113b1222d0
commit
3a81b17323
2 changed files with 17 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
<Base>
|
<Base>
|
||||||
<Group name="crans">
|
<Group name="crans">
|
||||||
|
<ConfigFile name="/etc/hosts"/>
|
||||||
|
|
||||||
<Package name="python"/>
|
<Package name="python"/>
|
||||||
|
|
||||||
<!-- fichier de preferences pour darcs -->
|
<!-- fichier de preferences pour darcs -->
|
||||||
|
|
15
Python/etc/hosts
Normal file
15
Python/etc/hosts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# -*- coding: utf-8; mode: python -*-
|
||||||
|
|
||||||
|
include("ip")
|
||||||
|
|
||||||
|
@127.0.0.1 localhost.crans.org localhost
|
||||||
|
print pubip(), pubhostname, hostname
|
||||||
|
print admip(), admhostname
|
||||||
|
|
||||||
|
@# 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
|
Loading…
Add table
Add a link
Reference in a new issue