| ... | ... |
@@ -428,6 +428,11 @@ function create_ironic_accounts {
|
| 428 | 428 |
|
| 429 | 429 |
# init_ironic() - Initialize databases, etc. |
| 430 | 430 |
function init_ironic {
|
| 431 |
+ # Save private network as cleaning network |
|
| 432 |
+ local cleaning_network_uuid |
|
| 433 |
+ cleaning_network_uuid=$(neutron net-list | grep private | get_field 1) |
|
| 434 |
+ iniset $IRONIC_CONF_FILE neutron cleaning_network_uuid ${cleaning_network_uuid}
|
|
| 435 |
+ |
|
| 431 | 436 |
# (Re)create ironic database |
| 432 | 437 |
recreate_database ironic |
| 433 | 438 |
|