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 {
|
||||
screen_it ironic-inspector \
|
||||
"cd $IRONIC_INSPECTOR_DIR && $IRONIC_INSPECTOR_CMD"
|
||||
run_process ironic-inspector "$IRONIC_INSPECTOR_CMD"
|
||||
}
|
||||
|
||||
function start_inspector_dhcp {
|
||||
screen_it ironic-inspector-dhcp \
|
||||
run_process ironic-inspector-dhcp \
|
||||
"sudo dnsmasq --conf-file=$IRONIC_INSPECTOR_DHCP_CONF_FILE"
|
||||
}
|
||||
|
||||
function stop_inspector {
|
||||
screen_stop ironic-inspector
|
||||
stop_process ironic-inspector
|
||||
}
|
||||
|
||||
function stop_inspector_dhcp {
|
||||
screen_stop ironic-inspector-dhcp
|
||||
stop_process ironic-inspector-dhcp
|
||||
}
|
||||
|
||||
### Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user