Remove spurious ipmi_command definition

This commit is contained in:
Joshua Boniface 2018-10-22 23:49:56 -04:00
parent 2cdd98d0f1
commit 94398a7847
1 changed files with 0 additions and 1 deletions

View File

@ -94,7 +94,6 @@ def migrateFromFencedNode(zk_conn, node_name, logger):
# Perform an IPMI fence
#
def rebootViaIPMI(ipmi_hostname, ipmi_user, ipmi_password, logger):
ipmi_command = ['/usr/bin/ipmitool', '-I', 'lanplus', '-H', ipmi_hostname, '-U', ipmi_user, '-P', ipmi_password, 'chassis', 'power', 'reset']
ipmi_command = '/usr/bin/ipmitool -I lanplus -H {} -U {} -P {} chassis power reset'.format(
ipmi_hostname, ipmi_user, ipmi_password
)