Merge "Fix ironic-pxe healthcheck."

This commit is contained in:
Zuul 2019-01-04 03:11:53 +00:00 committed by Gerrit Code Review
commit cc5366299f
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
if grep "/httpd " /run_command ; then
if grep "/httpd " /run_command 2>/dev/null ; then
bind_host=127.0.0.1
bind_port=$(grep "^Listen " /etc/httpd/conf.d/10-ipxe_vhost.conf | awk '{print $2}')
protocol=http