Host creation is only for the 'Leader' and not for the followers
This commit is contained in:
parent
d9b15ac7fa
commit
10369f18f9
@ -1,6 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ ${1} == "instance" ]]
|
ha=$(CreoleGet activer_one_ha non)
|
||||||
|
if [[ ${ha} == "oui" ]]
|
||||||
|
then
|
||||||
|
indx=$(CreoleGet one_ha_server_index)
|
||||||
|
else
|
||||||
|
indx="0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${1} == "instance" ]] && [[ ${indx} == "0" ]]
|
||||||
then
|
then
|
||||||
/usr/share/eole/sbin/onehost_create_all
|
/usr/share/eole/sbin/onehost_create_all
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user