---
snake/machine.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/snake/machine.py b/snake/machine.py
index 3eb536c..0d964a9 100644
--- a/snake/machine.py
+++ b/snake/machine.py
@@ -28,6 +28,7 @@ class Machine(object):
self.nickname = "" # A human readable unique name
self.fqdn = "" # Fully qualified hostname
self.bootargs = "" # String of required boot arguments
+ self.ksdata = "" # String of required kickstart commands
self.arch = [] # List of supported architectures (first entry is
default)
self.fingerprints = [] # List of hwaddr's
self.hwinfo = []
@@ -59,7 +60,7 @@ class Machine(object):
self.config.read(cfg) # try to read it as if it was a filename
# str fields
- for opt in ["id", "nickname", "bootargs"]:
+ for opt in ["id", "nickname", "bootargs",
"ksdata"]:
if self.config.has_option('general',opt):
setattr(self, opt, self.config.get("general", opt))
--
1.5.4.5