diff options
author | Dmitry Tantsur <divius.inside@gmail.com> | 2018-06-25 15:07:18 +0200 |
---|---|---|
committer | Dmitry Tantsur <divius.inside@gmail.com> | 2018-06-26 14:30:11 +0200 |
commit | 6deb0c3b0b6f5ca1f71ce104597fda1d8560bc0d (patch) | |
tree | 4a0e36088482e3b4829e7ab2c1e7c88885f0c1a8 /devstack | |
parent | 575640cfacb06409fa9337d48924bcd846bee740 (diff) | |
download | ironic-6deb0c3b0b6f5ca1f71ce104597fda1d8560bc0d.tar.gz |
Remove the deprecated pxe_snmp driver
Change-Id: I3e9d102698cb09171c3ca3031098bc9f1d829a72
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/lib/ironic | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |