[nfs] On met un alias nfs.adm.crans.org en place pour virer daath au maximum d'endroit

This commit is contained in:
Pierre-Elliott Bécue 2013-04-19 01:09:34 +02:00
parent 354d60a8a1
commit 0f0c37e7a0
3 changed files with 4 additions and 4 deletions

View file

@ -2,4 +2,4 @@
#
# Fichier gere par BCfg2.
exec echo "-fstype=nfs daath.adm.crans.org:/home-adh/$1"
exec echo "-fstype=nfs nfs.adm.crans.org:/home-adh/$1"

View file

@ -17,7 +17,7 @@ print metadata.Probes["fstab_local"]
if has("nfs"):
@# Le nfs
mnt("daath.adm.crans.org:/usr/scripts", "/usr/scripts", "nfs", ["rw"])
mnt("nfs.adm.crans.org:/usr/scripts", "/usr/scripts", "nfs", ["rw"])
if has("home-permanent"):
# Pour ceux qui accedent beaucoup aux homes on monte tout le /home
mnt("fx.adm.crans.org:/home-adh", "/home", "nfs", ["rw"]);
mnt("nfs.adm.crans.org:/home-adh", "/home", "nfs", ["rw"]);

View file

@ -12,7 +12,7 @@ else:
if has("vlan-wifi"):
print wifiip(), wifihostname, hostname+".wifi"
@10.231.136.7 daath.adm.crans.org daath.adm daath
@10.231.136.7 nfs.adm.crans.org nfs.adm nfs
if(has("komaz")):
print "138.231.135.5 irts-ext.ens-cachan.fr irts"
print "138.231.135.6 komaz-ext"