Hello,
Looks like wti power control wasn't added to the map in
action_power.py. attached patch takes care of that.
Any thoughts on having power control automatically introspected (sp?)
based on whats in /etc/cobbler/power? Its quite a bit of work to add a
new power control feature.
From 62986be5d8eb07378a035c973488a538aeec4b5b Mon Sep 17 00:00:00 2001
From: Bill Peck <bpeck(a)redhat.com>
Date: Wed, 21 Jan 2009 11:32:28 -0500
Subject: [PATCH] allow wti power method to work.
---
cobbler/action_power.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cobbler/action_power.py b/cobbler/action_power.py
index 8f92cc5..30b9e7b 100644
--- a/cobbler/action_power.py
+++ b/cobbler/action_power.py
@@ -138,6 +138,7 @@ class PowerTool:
"bladecenter":
os.path.join(powerdir,"power_bladecenter.template"),
"virsh" :
os.path.join(powerdir,"power_virsh.template"),
"integrity" :
os.path.join(powerdir,"power_integrity.template"),
+ "wti" :
os.path.join(powerdir,"power_wti.template"),
}
result = map.get(self.system.power_type, "")
--
1.6.0.6