From 6deb0c3b0b6f5ca1f71ce104597fda1d8560bc0d Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 25 Jun 2018 15:07:18 +0200 Subject: Remove the deprecated pxe_snmp driver Change-Id: I3e9d102698cb09171c3ca3031098bc9f1d829a72 --- devstack/lib/ironic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devstack') diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 43d33d94b..5d911c25d 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -289,7 +289,7 @@ if [[ "$IRONIC_DEPLOY_ISO_REQUIRED" = "True" \ or set IRONIC_BUILD_DEPLOY_RAMDISK=True to use ISOs" fi # Which deploy driver to use - valid choices right now -# are ``pxe_ipmitool``, ``agent_ipmitool``, ``pxe_snmp`` and ``ipmi``. +# are ``pxe_ipmitool``, ``agent_ipmitool``, ``snmp`` and ``ipmi``. # # Additional valid choices if IRONIC_IS_HARDWARE == true are: # ``cisco-ucs-managed``, ``cisco-ucs-standalone`` @@ -644,7 +644,7 @@ function is_deployed_by_drac { } function is_deployed_by_snmp { - [[ -z "${IRONIC_DEPLOY_DRIVER##*snmp}" ]] && return 0 + [[ "${IRONIC_DEPLOY_DRIVER}" == snmp ]] && return 0 return 1 } -- cgit v1.2.1