From 59608d8804019007ccadf95bcd1daa9f60b2ad09 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 12 Jul 2007 11:27:26 -0400 Subject: Add netboot-enabled to CLI --- cobbler/item_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cobbler/item_system.py') 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: -- cgit