Fix ironic port-create deprecated option
A recent ironicclient commit If05d51b09d787ccfbf6f6d35d8e752d42f673601 deprecated --node_uuid, now it should use --node. Change-Id: Ia97074bd2ce92645ac4b4151824098cb99434117
This commit is contained in:
parent
c8b2f60a54
commit
e2d2d65aa5
@ -600,7 +600,7 @@ function enroll_nodes {
|
||||
$node_options \
|
||||
| grep " uuid " | get_field 2)
|
||||
|
||||
ironic port-create --address $mac_address --node_uuid $node_id
|
||||
ironic port-create --address $mac_address --node $node_id
|
||||
|
||||
total_nodes=$((total_nodes+1))
|
||||
total_cpus=$((total_cpus+$ironic_node_cpu))
|
||||
|
Loading…
x
Reference in New Issue
Block a user