diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-09-16 17:47:28 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-09-16 17:47:28 -0400 |
commit | 48ff1a38347ad45d480b133b03df2f6a5a7a5657 (patch) | |
tree | 0001bea6c908d2a5580168f7a08433393b1f7279 /cobbler/webui/CobblerWeb.py | |
parent | 7ba5a8f7bfbcd25bf0fa5055d2a081dc60a0564e (diff) | |
download | cobbler-48ff1a38347ad45d480b133b03df2f6a5a7a5657.tar.gz cobbler-48ff1a38347ad45d480b133b03df2f6a5a7a5657.tar.xz cobbler-48ff1a38347ad45d480b133b03df2f6a5a7a5657.zip |
Make static field editing work in the webapp and in XMLRPC
Diffstat (limited to 'cobbler/webui/CobblerWeb.py')
-rw-r--r-- | cobbler/webui/CobblerWeb.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/webui/CobblerWeb.py b/cobbler/webui/CobblerWeb.py index daf204b2..800bce85 100644 --- a/cobbler/webui/CobblerWeb.py +++ b/cobbler/webui/CobblerWeb.py @@ -388,6 +388,7 @@ class CobblerWeb(object): macaddress = args.get("macaddress-%s" % interface, "") ipaddress = args.get("ipaddress-%s" % interface, "") hostname = args.get("hostname-%s" % interface, "") + static = args.get("static-%s" % interface, "") virtbridge = args.get("virtbridge-%s" % interface, "") dhcptag = args.get("dhcptag-%s" % interface, "") subnet = args.get("subnet-%s" % interface, "") @@ -404,6 +405,7 @@ class CobblerWeb(object): mods["macaddress-%s" % interface] = macaddress mods["ipaddress-%s" % interface] = ipaddress mods["hostname-%s" % interface] = hostname + mods["static-%s" % interface] = static mods["virtbridge-%s" % interface] = virtbridge mods["dhcptag-%s" % interface] = dhcptag mods["subnet-%s" % interface] = subnet |