diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-10-23 10:36:04 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-23 10:36:04 -0400 |
commit | b2879f601aa7368945d90543cf55299d443fd96c (patch) | |
tree | b881b029c62b6b673fb64d8b19143decc44f7dc1 /cobbler/item_system.py | |
parent | 1a018a5effec544216266e1a75f4146c85cfbdec (diff) | |
download | third_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.py | 2 |
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 |