diff --git a/lib/baremetal b/lib/baremetal index 24cce9f7dd..17a967fe92 100644 --- a/lib/baremetal +++ b/lib/baremetal @@ -427,7 +427,7 @@ function add_baremetal_node() { "$mac_1" \ | grep ' id ' | get_field 2 ) [ $? -eq 0 ] || [ "$id" ] || die "Error adding baremetal node" - id2=$(nova baremetal-add-interface "$id" "$mac_2" ) + id2=$(nova baremetal-interface-add "$id" "$mac_2" ) [ $? -eq 0 ] || [ "$id2" ] || die "Error adding interface to barmetal node $id" }