summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-12-01 15:16:15 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-12-01 15:16:15 -0500
commitf861efeb110eab265eb13cd84cf66c5dece02e65 (patch)
treecf89dba052ef12b26529e3ba80e8991e13448010 /cobbler/item_profile.py
parent1a9938e84e11f437d6deb6dae9d4ba0ebc7e487d (diff)
downloadcobbler-f861efeb110eab265eb13cd84cf66c5dece02e65.tar.gz
cobbler-f861efeb110eab265eb13cd84cf66c5dece02e65.tar.xz
cobbler-f861efeb110eab265eb13cd84cf66c5dece02e65.zip
Edit dhcp template to use gateway as a global (required for 1.3.X), more work on the webapp to allow fields to be cleared.
Diffstat (limited to 'cobbler/item_profile.py')
-rw-r--r--cobbler/item_profile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobbler/item_profile.py b/cobbler/item_profile.py
index 5147ae3a..971dbfea 100644
--- a/cobbler/item_profile.py
+++ b/cobbler/item_profile.py
@@ -195,6 +195,9 @@ class Profile(item.Item):
Sets the kickstart. This must be a NFS, HTTP, or FTP URL.
Or filesystem path. Minor checking of the URL is performed here.
"""
+ if kickstart == "" or kickstart is None:
+ self.kickstart = ""
+ return True
if kickstart == "<<inherit>>":
self.kickstart = kickstart
return True