From 0f0c37e7a04c76881a19fa0fcfd37e74ee3c7411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Fri, 19 Apr 2013 01:09:34 +0200 Subject: [PATCH] [nfs] On met un alias nfs.adm.crans.org en place pour virer daath au maximum d'endroit --- Cfg/etc/auto.home/auto.home | 2 +- Python/etc/fstab | 4 ++-- Python/etc/hosts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cfg/etc/auto.home/auto.home b/Cfg/etc/auto.home/auto.home index 871940d..d7b707a 100755 --- a/Cfg/etc/auto.home/auto.home +++ b/Cfg/etc/auto.home/auto.home @@ -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" diff --git a/Python/etc/fstab b/Python/etc/fstab index a8d7be2..219f663 100644 --- a/Python/etc/fstab +++ b/Python/etc/fstab @@ -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"]); diff --git a/Python/etc/hosts b/Python/etc/hosts index ae3a792..a1d4026 100644 --- a/Python/etc/hosts +++ b/Python/etc/hosts @@ -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"