add back maas_assign_networks but not in the upper if stmt

This commit is contained in:
Arif Ali 2021-01-02 12:02:24 +00:00
parent b5c731d57a
commit 4edfca32ba
Signed by: arif
GPG Key ID: 369608FBA1353A70

View File

@ -136,6 +136,8 @@ maas_add_node()
system_id=$(echo $machine_create | jq .system_id | sed s/\"//g)
ensure_machine_in_state ${system_id} "Ready"
maas_assign_networks ${system_id}
else
boot_int=$(maas ${maas_profile} machine read ${system_id} | jq ".boot_interface | {mac:.mac_address, int_d:.id}")