summaryrefslogtreecommitdiffstats
path: root/cobbler/collection_systems.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-02-20 13:16:58 -0500
committerJim Meyering <jim@meyering.net>2007-02-20 13:16:58 -0500
commit817962be5ff44c685eae4d7fe9e9247c2ca49fe0 (patch)
tree980e5611e002d99ce00521d79e1c66db6b874e06 /cobbler/collection_systems.py
parentee62b5bb0fb0c3f184a8dc79720ea379951eb8c6 (diff)
downloadthird_party-cobbler-817962be5ff44c685eae4d7fe9e9247c2ca49fe0.tar.gz
third_party-cobbler-817962be5ff44c685eae4d7fe9e9247c2ca49fe0.tar.xz
third_party-cobbler-817962be5ff44c685eae4d7fe9e9247c2ca49fe0.zip
Adding disable_netboot option for cobbler, which can be programatically exercised by API users to prevent install-loop scenarios
by taking action as a result of some event in post. Also making syncless code modifications work with IA64 tftp locations.
Diffstat (limited to 'cobbler/collection_systems.py')
-rw-r--r--cobbler/collection_systems.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/collection_systems.py b/cobbler/collection_systems.py
index 8d90eb5..7b6191b 100644
--- a/cobbler/collection_systems.py
+++ b/cobbler/collection_systems.py
@@ -48,10 +48,10 @@ class Systems(collection.Collection):
Remove element named 'name' from the collection
"""
if self.find(name):
- del self.listing[name]
if with_delete:
lite_sync = action_litesync.BootLiteSync(self.config)
lite_sync.remove_single_system(name)
+ del self.listing[name]
return True
raise cexceptions.CobblerException("delete_nothing")