2019-02-25 16:44:11 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-02-28 10:58:25 +01:00
|
|
|
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" ]]
|
2019-02-28 10:47:34 +01:00
|
|
|
then
|
|
|
|
/usr/share/eole/sbin/onehost_create_all
|
|
|
|
fi
|
2019-02-25 16:44:11 +01:00
|
|
|
exit 0
|