-
Notifications
You must be signed in to change notification settings - Fork 1
/
00_00_conf_reseau.conf
executable file
·22 lines (16 loc) · 1.74 KB
/
00_00_conf_reseau.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ips=( "164.132.225.226" )
machines=( "ovh" )
ips=("192.168.0.70" "192.168.0.60" "192.168.0.80" "192.168.0.90" "164.132.225.226")
machines=("dell" "pb" "macair" "macpro" "ovh")
ips=("54.37.12.34" "54.37.12.48" "54.37.158.251" "54.37.158.249" "54.37.157.150" "54.37.159.0" "54.37.158.242" "54.37.157.156" "54.37.158.240" "54.37.158.241" "54.37.12.37" "213.32.18.34" "54.37.157.168" "54.37.12.30" )
machines=("fares" "kouakou" "mahbouba" "nguyen" "brice" "abibatou" "patrick" "victor" "youcef" "anais" "michael" "celine" "yves" "beatrice")
ips=("vps487952.ovh.net" "vps503988.ovh.net" "vps503987.ovh.net" "vps503989.ovh.net" "vps503986.ovh.net" "vps503983.ovh.net" "vps503985.ovh.net" "vps503984.ovh.net" "vps503982.ovh.net" "vps503981.ovh.net" "vps503980.ovh.net" "vps488043.ovh.net" "vps488042.ovh.net" "vps488036.ovh.net" )
machines=("fares" "kouakou" "mahbouba" "nguyen" "brice" "abibatou" "patrick" "victor" "youcef" "anais" "michael" "celine" "yves" "beatrice")
ips=("54.37.12.49" "92.222.22.159" "5.196.14.134" "92.222.22.165" "5.196.14.47" "37.187.244.150" "5.196.14.28" "37.187.244.164" "37.187.244.122" "151.80.149.213" "151.80.149.143" "54.37.158.242" "54.37.157.168" "54.37.158.240" )
machines=("vps487952.ovh.net fares" "vps503988.ovh.net kouakou" "vps503987.ovh.net mahbouba" "vps503989.ovh.net nguyen" "vps503986.ovh.net brice" "vps503983.ovh.net abibatou" "vps503985.ovh.net patrick" "vps503984.ovh.net victor" "vps503982.ovh.net youcef" "vps503981.ovh.net anais" "vps503980.ovh.net michael" "vps488043.ovh.net celine" "vps488042.ovh.net yves" "vps488036.ovh.net beatrice ")
master=0 # index de la machine qu'on veut comme master dans la liste des ips
ip_master=${ips[$master]}
master=${machines[$master]}
master=${master%%$'\t'*}
echo $x2
echo $ip_master $master