Fix nodes in label-nodes.sh
This commit is contained in:
parent
d0dd69399e
commit
6b094db607
2 changed files with 5 additions and 6 deletions
|
@ -5,12 +5,9 @@ set -e
|
||||||
# FIXME: hardcoded roles
|
# FIXME: hardcoded roles
|
||||||
declare -A nodes
|
declare -A nodes
|
||||||
nodes=( \
|
nodes=( \
|
||||||
["node2"]="openstack-controller=true"
|
["node1"]="openstack-controller=true"
|
||||||
["node3"]="openstack-controller=true"
|
["node2"]="openstack-compute=true"
|
||||||
["node4"]="openstack-controller=true"
|
["node3"]="openstack-compute=true"
|
||||||
["node5"]="openstack-compute=true"
|
|
||||||
["node6"]="openstack-compute=true"
|
|
||||||
["node7"]="openstack-compute=true"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
label_nodes() {
|
label_nodes() {
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
INVENTORY="nodes_to_inv.py"
|
INVENTORY="nodes_to_inv.py"
|
||||||
|
|
||||||
echo "Createing repository and CCP images, it may take a while..."
|
echo "Createing repository and CCP images, it may take a while..."
|
||||||
|
|
Loading…
Reference in a new issue