summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-07-12 11:27:26 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-07-12 11:27:26 -0400
commit59608d8804019007ccadf95bcd1daa9f60b2ad09 (patch)
treec05e54b79d416a8005c9e3d8dbfa4814fb347f24 /cobbler/item_system.py
parent43d51a1a54ae2f73c15cc6a800eac3b1dd45b6d0 (diff)
downloadthird_party-cobbler-59608d8804019007ccadf95bcd1daa9f60b2ad09.tar.gz
third_party-cobbler-59608d8804019007ccadf95bcd1daa9f60b2ad09.tar.xz
third_party-cobbler-59608d8804019007ccadf95bcd1daa9f60b2ad09.zip
Add netboot-enabled to CLI
Diffstat (limited to 'cobbler/item_system.py')
-rw-r--r--cobbler/item_system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index d6ddb02..caa6ace 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -200,7 +200,7 @@ class System(item.Item):
Use of this option does not affect the ability to use PXE menus. If an admin has machines
set up to PXE only after local boot fails, this option isn't even relevant.
"""
- if netboot_enabled in [ True, "True", "true", 1, "on", "yes", "y", "ON", "YES", "Y" ]:
+ if netboot_enabled in [ True, "True", "true", 1, "1", "on", "yes", "y", "ON", "YES", "Y" ]:
# this is a bit lame, though we don't know what the user will enter YAML wise...
self.netboot_enabled = 1
else: