X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=ssh%2Fgenerate_config.py;h=d5b6786efc08cf89a59e40f320f6d3eab25f11a4;hb=6e324d2e57f4975054666103d1c6e3cab325763e;hp=d71b488196017881ebcdd37e8cf69a3e31c7d3af;hpb=5adc8d9819f83e3e0e8a97797d5fad23a5bc61a0;p=scripts-20-100.git diff --git a/ssh/generate_config.py b/ssh/generate_config.py index d71b488..d5b6786 100755 --- a/ssh/generate_config.py +++ b/ssh/generate_config.py @@ -20,13 +20,13 @@ static_before_file = "./static_before" static_after_file = "./static_after" #: regexp pour exclure certains "serveurs" -black_regex = re.compile('^((bigbrother|hugebrother|littlebrother|tinybrother|imprimante|vigile(--?\d[a-z])?|bat[abcghijmopk]-\d|minigiga|multiprise-v6|chu|pika|kvm|pulsar|nols2?).adm.crans.org|ftp.federez.net|ns1.crans.ens-cachan.fr)$') +black_regex = re.compile(r'^((bigbrother|hugebrother|littlebrother|tinybrother|imprimante|vigile(--?\d[a-z])?|bat[abcghijmopkv]-\d|minigiga|multiprise-v6|chu|pika|kvm|pulsar|nols2?)\.adm\.crans\.org|ftp\.federez\.net|ns1\.crans\.ens-cachan\.fr|(bat(b-5|v-1)|terminal)\.crans\.org)$') #: Proxy pour contacter le VLAN adm adm_proxy = u"sable.crans.org" #: Login pour se connecter sur les serveurs Cr@ns -login_crans = u"legallic" +login_crans = u"loginCr@ns" #: À afficher avant les serveurs Cr@ns crans_header = u""" @@ -45,7 +45,6 @@ crans_adm_header = u""" # +-------------------------+ # Accessibles aux apprentis, mais ne sont que sur le VLAN adm # d'où la ProxyCommand -# fy et fz ne sont accessibles qu'aux nounous """