Use run_process in the devstack plugin
Old commands we use give us problems with grenade. Change-Id: I12ad693870ea013d7da9ffa5e772ddd6630e7895
This commit is contained in:
parent
7cbdd5dc8a
commit
a8cb6bf838
@ -72,21 +72,20 @@ function install_inspector_client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function start_inspector {
|
function start_inspector {
|
||||||
screen_it ironic-inspector \
|
run_process ironic-inspector "$IRONIC_INSPECTOR_CMD"
|
||||||
"cd $IRONIC_INSPECTOR_DIR && $IRONIC_INSPECTOR_CMD"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_inspector_dhcp {
|
function start_inspector_dhcp {
|
||||||
screen_it ironic-inspector-dhcp \
|
run_process ironic-inspector-dhcp \
|
||||||
"sudo dnsmasq --conf-file=$IRONIC_INSPECTOR_DHCP_CONF_FILE"
|
"sudo dnsmasq --conf-file=$IRONIC_INSPECTOR_DHCP_CONF_FILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_inspector {
|
function stop_inspector {
|
||||||
screen_stop ironic-inspector
|
stop_process ironic-inspector
|
||||||
}
|
}
|
||||||
|
|
||||||
function stop_inspector_dhcp {
|
function stop_inspector_dhcp {
|
||||||
screen_stop ironic-inspector-dhcp
|
stop_process ironic-inspector-dhcp
|
||||||
}
|
}
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user