aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/deploy_aio.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh
index 8f3c96222..ba7ef9c49 100755
--- a/tools/deploy_aio.sh
+++ b/tools/deploy_aio.sh
@@ -32,8 +32,11 @@ function check_failure {
docker logs --tail all ${failed}
done
- journalctl --no-pager -u docker.service
- cat /var/log/upstart/docker.log
+ if [[ -x "$(command -v journalctl)" ]]; then
+ journalctl --no-pager -u docker.service
+ else
+ cat /var/log/upstart/docker.log
+ fi
nova service-list
neutron agent-list