Merge "Fix bashate warning in devstack plugin"
This commit is contained in:
commit
c7781fccd5
@ -522,7 +522,7 @@ function _generate_pdu_ports {
|
|||||||
port_config=()
|
port_config=()
|
||||||
for vm_name in $(_ironic_bm_vm_names); do
|
for vm_name in $(_ironic_bm_vm_names); do
|
||||||
port_config+=("${pdu_port_number}:${vm_name}")
|
port_config+=("${pdu_port_number}:${vm_name}")
|
||||||
(( pdu_port_number++ ))
|
pdu_port_number=$(( pdu_port_number + 1 ))
|
||||||
done
|
done
|
||||||
echo ${port_config[*]} | tr ' ' ','
|
echo ${port_config[*]} | tr ' ' ','
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user