summaryrefslogtreecommitdiffstats
path: root/cobbler/settings.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-05-09 12:30:53 -0400
committerJim Meyering <jim@meyering.net>2006-05-09 12:30:53 -0400
commit4494a9f367838913f1898faef81ba27a849008aa (patch)
tree950b946f154f40a754a62a94a0536e9e5b32922d /cobbler/settings.py
parent804a564ac24ff22cd46583fa98d8140a8b10f476 (diff)
downloadthird_party-cobbler-4494a9f367838913f1898faef81ba27a849008aa.tar.gz
third_party-cobbler-4494a9f367838913f1898faef81ba27a849008aa.tar.xz
third_party-cobbler-4494a9f367838913f1898faef81ba27a849008aa.zip
Simplified the command line, made a better 'list' function, some string and exception
cleanup.
Diffstat (limited to 'cobbler/settings.py')
-rw-r--r--cobbler/settings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/cobbler/settings.py b/cobbler/settings.py
index e740e13..978c1b2 100644
--- a/cobbler/settings.py
+++ b/cobbler/settings.py
@@ -37,6 +37,11 @@ class Settings(serializable.Serializable):
"tftpboot" : "/tftpboot",
}
+ def printable(self):
+ buf = ""
+ buf = buf + "defaults\n"
+ buf = buf + "kernel options : %s\n" % self._attributes['kernel_options']
+ return buf
def to_datastruct(self):
"""