diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-10-06 11:34:19 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-06 11:34:19 -0400 |
commit | 8c0cae64b1c726f3d15819d2390d5cb83916aed5 (patch) | |
tree | a66cb031705446c7c7ff9230dac84ad0cb8dff6a /cobbler/item_system.py | |
parent | 94fac2319cbb1dd23b08d95e7c3038d5e900ff8b (diff) | |
download | third_party-cobbler-8c0cae64b1c726f3d15819d2390d5cb83916aed5.tar.gz third_party-cobbler-8c0cae64b1c726f3d15819d2390d5cb83916aed5.tar.xz third_party-cobbler-8c0cae64b1c726f3d15819d2390d5cb83916aed5.zip |
Fixes to dhcpd.conf and Itanium IA64 support as a result of lab tests.
Diffstat (limited to 'cobbler/item_system.py')
-rw-r--r-- | cobbler/item_system.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/item_system.py b/cobbler/item_system.py index 7c584b5..315ab3a 100644 --- a/cobbler/item_system.py +++ b/cobbler/item_system.py @@ -56,6 +56,8 @@ class System(item.Item): def set_pxe_address(self,hostname): # we allow this to be set to anything and should restrict it + if not utils.is_ip(hostname): + raise cexceptions.CobblerException("bad_ip") self.pxe_address = hostname return True |