---
cobbler/action_power.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/cobbler/action_power.py b/cobbler/action_power.py
index 39f279f..9934d8d 100644
--- a/cobbler/action_power.py
+++ b/cobbler/action_power.py
@@ -106,7 +106,7 @@ class PowerTool:
rc = sub_process.call(cmd, shell=False)
if not rc == 0:
- raise CX("command failed (rc=%s), please validate the physical
setup and cobler config" % rc)
+ raise CX("command failed (rc=%s), please validate the physical
setup and cobbler config" % rc)
return rc
@@ -130,7 +130,8 @@ class PowerTool:
"ipmitool" : "/etc/cobbler/power_ipmitool.template",
"ipmilan" : "/etc/cobbler/power_ipmilan.template",
"ilo" : "/etc/cobbler/power_ilo.template",
- "rsa" : "/etc/cobbler/power_rsa.template"
+ "rsa" : "/etc/cobbler/power_rsa.template",
+ "lpar" : "/etc/cobbler/power_lpar.template",
}
result = map.get(self.system.power_type, "")
--
1.6.0.3
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler