Sur le module hapy-master il ne faut pas joindre l'hôte local au cluster
ref #16117
This commit is contained in:
parent
fa3e60b0c5
commit
9004d3004b
|
@ -105,7 +105,7 @@ function get_cluster_id_by_name()
|
|||
cmd="onecluster"
|
||||
opt="show ${name}"
|
||||
opt="list -l ID,NAME -f NAME=${name} --csv"
|
||||
|
||||
|
||||
|
||||
res=$(${cmd} ${opt} --user ${AUTH%:*} --password ${AUTH#*:} | awk -F ',' '/^[0-9]/ { print $1 }')
|
||||
if [[ ${?} -eq 0 ]]
|
||||
|
@ -431,8 +431,11 @@ function main()
|
|||
#
|
||||
# Creating Host
|
||||
#
|
||||
host=$(CreoleGet nom_machine)
|
||||
manage_host ${host}
|
||||
if [[ $(CreoleGet eole_module non) != 'hapy-master' ]]
|
||||
then
|
||||
host=$(CreoleGet nom_machine)
|
||||
manage_host ${host}
|
||||
fi
|
||||
|
||||
#
|
||||
# Attaching Host to the Cluster
|
||||
|
|
Loading…
Reference in New Issue