hosts_file=
-common_nodelist_hacking ()
+cluster_nodelist_hacking ()
{
# Rework the NODES list
expand_nodes
# Run hooks before doing anything else.
run_hooks create_cluster_hooks
- common_nodelist_hacking
-
for_each_node call_func create_node
echo "Cluster $CLUSTER created"
mkdir -p $VIRTBASE/$CLUSTER $KVMLOG tmp
- common_nodelist_hacking
-
for n in $NODES ; do
set -- $(IFS=: ; echo $n)
[ $single_node_ip_offset -eq $2 ] || continue
*) usage ;;
esac
done
+ cluster_nodelist_hacking
actions_run
;;