XenAPI: Replace remaining instances of 'devstack.succeeded'

Commit I05990c7154366350b0f9cc3e6c70d6f34238486f was incomplete
and left two references to the, now replaced, devstack.succeeded.

The impact of this is that the XVA always claims that devstack failed
to run when actually the run may have been successful

Change-Id: Ie4ac673011d77a9edc8923db94d914efe9f45d5d
This commit is contained in:
Bob Ball 2015-01-26 14:13:02 +00:00
parent 2d7c346f0c
commit f35e95706c

View File

@ -104,7 +104,7 @@ console output
task
pre-start script
rm -f /var/run/devstack.succeeded
rm -f /opt/stack/runsh.succeeded
end script
script
@ -127,7 +127,7 @@ script
IPADDR=\$(ip -4 address show eth0 | sed -n 's/.*inet \\([0-9\.]\\+\\).*/\1/p')
echo " Management IP: \$IPADDR"
echo -n " Devstack run: "
if [ -e /var/run/devstack.succeeded ]; then
if [ -e /opt/stack/runsh.succeeded ]; then
echo "SUCCEEDED"
else
echo "FAILED"