summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-30 17:40:23 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-30 17:40:23 -0400
commit4355d491402ce90abb532daa370ecca8546b6c49 (patch)
treea0fd827e53f2a89e7b98aceb4ffff2ca8ac66c2b /cobbler/item_system.py
parentb8c7846c557c6c0cf69003cf9475df36195e5065 (diff)
downloadthird_party-cobbler-4355d491402ce90abb532daa370ecca8546b6c49.tar.gz
third_party-cobbler-4355d491402ce90abb532daa370ecca8546b6c49.tar.xz
third_party-cobbler-4355d491402ce90abb532daa370ecca8546b6c49.zip
Ongoing work on making system --names descriptive, plus manpage and
CHANGELOG changes.
Diffstat (limited to 'cobbler/item_system.py')
-rw-r--r--cobbler/item_system.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index ebfa03c..c3bd86b 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -208,14 +208,15 @@ class System(item.Item):
}
def printable(self):
- buf = _("system : %s\n") % self.name
- buf = buf + _("profile : %s\n") % self.profile
- buf = buf + _("kernel options : %s\n") % self.kernel_options
- buf = buf + _("ks metadata : %s\n") % self.ks_meta
- buf = buf + _("ip address : %s\n") % self.get_ip_address()
- buf = buf + _("mac address : %s\n") % self.get_mac_address()
- buf = buf + _("pxe info set? : %s\n") % self.is_pxe_supported()
- buf = buf + _("pxe id : %s\n") % self.get_system_identifier()
- buf = buf + _("hostname : %s\n") % self.hostname
+ buf = _("system : %s\n") % self.name
+ buf = buf + _("profile : %s\n") % self.profile
+ buf = buf + _("kernel options : %s\n") % self.kernel_options
+ buf = buf + _("ks metadata : %s\n") % self.ks_meta
+ buf = buf + _("ip address : %s\n") % self.get_ip_address()
+ buf = buf + _("mac address : %s\n") % self.get_mac_address()
+ buf = buf + _("hostname : %s\n") % self.hostname
+ buf = buf + _("pxe info set? : %s\n") % self.is_pxe_supported()
+ buf = buf + _("config id : %s\n") % utils.get_config_filename(self)
+ buf = buf + _("netboot enabled? : %s\n") % self.netboot_enabled
return buf