From 94398a784746c31eaeb7562e8192ab7ab6b22757 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 22 Oct 2018 23:49:56 -0400 Subject: [PATCH] Remove spurious ipmi_command definition --- node-daemon/pvcd/fencing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/node-daemon/pvcd/fencing.py b/node-daemon/pvcd/fencing.py index 4f0201a7..c7d66351 100644 --- a/node-daemon/pvcd/fencing.py +++ b/node-daemon/pvcd/fencing.py @@ -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 )