summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-10-23 10:36:04 -0400
committerJim Meyering <jim@meyering.net>2006-10-23 10:36:04 -0400
commitb2879f601aa7368945d90543cf55299d443fd96c (patch)
treeb881b029c62b6b673fb64d8b19143decc44f7dc1 /cobbler/item_system.py
parent1a018a5effec544216266e1a75f4146c85cfbdec (diff)
downloadthird_party-cobbler-b2879f601aa7368945d90543cf55299d443fd96c.tar.gz
third_party-cobbler-b2879f601aa7368945d90543cf55299d443fd96c.tar.xz
third_party-cobbler-b2879f601aa7368945d90543cf55299d443fd96c.zip
Restriction code wrong. pxe-address is an IP or a hostname, not an IP or a MAC.
Diffstat (limited to 'cobbler/item_system.py')
-rw-r--r--cobbler/item_system.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py
index 8a5c604..029b961 100644
--- a/cobbler/item_system.py
+++ b/cobbler/item_system.py
@@ -58,8 +58,6 @@ class System(item.Item):
# doing so, however, doesn't allow dhcpd.conf to be managed
# by cobbler (since elilo can't do MAC addresses) -- this is
# covered in the man page.
- if not utils.is_ip(address) and not utils.is_mac(address):
- raise cexceptions.CobblerException("bad_ip")
self.pxe_address = address
return True