From 5064026b737fd1e5896874734f6cf7f1d5db64da Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Thu, 7 Jan 2016 12:06:19 +0000 Subject: [PATCH] deploy-ironic: Fix syntax error when checking for root device hints This patch is fixing a syntax error in the 70-ironic-root-device init script for the deploy-ironic element. Change-Id: I767486ca5893605720fba41bee3af72725a26377 Closes-Bug: #1531835 --- elements/deploy-ironic/init.d/70-ironic-root-device | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/deploy-ironic/init.d/70-ironic-root-device b/elements/deploy-ironic/init.d/70-ironic-root-device index 9b7ffdf22..878bc626e 100644 --- a/elements/deploy-ironic/init.d/70-ironic-root-device +++ b/elements/deploy-ironic/init.d/70-ironic-root-device @@ -128,7 +128,7 @@ function get_root_device() { [[ $CHECK_VENDOR != false && $(get_vendor "$DEV_NAME") != $CHECK_VENDOR ]] && continue || : [[ $CHECK_SERIAL != false && $(get_serial "$DEV_NAME") != $CHECK_SERIAL ]] && continue || : [[ $CHECK_WWN != false && $(get_wwn "$DEV_NAME") != $CHECK_WWN ]] && continue || : - [[ $CHECK_WWN_WITH_EXT!= false && $(get_wwn_with_extension "$DEV_NAME") != $CHECK_WWN_WITH_EXT ]] && continue || : + [[ $CHECK_WWN_WITH_EXT != false && $(get_wwn_with_extension "$DEV_NAME") != $CHECK_WWN_WITH_EXT ]] && continue || : [[ $CHECK_WWN_VENDOR_EXT != false && $(get_wwn_vendor_extension "$DEV_NAME") != $CHECK_WWN_VENDOR_EXT ]] && continue || : # A device that matches all hints was found