diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-11-20 12:42:48 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-11-20 12:42:48 -0500 |
commit | ff1ceabf551e6bdf9b84bd1c8dcfd45d53456965 (patch) | |
tree | fac80735675c512dcd0a630c619d57e16b3d5e90 /cobbler/webui/CobblerWeb.py | |
parent | 43d30e64964dd0547c040225d487054faa0b227f (diff) | |
download | cobbler-ff1ceabf551e6bdf9b84bd1c8dcfd45d53456965.tar.gz cobbler-ff1ceabf551e6bdf9b84bd1c8dcfd45d53456965.tar.xz cobbler-ff1ceabf551e6bdf9b84bd1c8dcfd45d53456965.zip |
Add static routes and further field reorg.
Diffstat (limited to 'cobbler/webui/CobblerWeb.py')
-rw-r--r-- | cobbler/webui/CobblerWeb.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cobbler/webui/CobblerWeb.py b/cobbler/webui/CobblerWeb.py index b4664b4d..8bd929a3 100644 --- a/cobbler/webui/CobblerWeb.py +++ b/cobbler/webui/CobblerWeb.py @@ -422,7 +422,8 @@ class CobblerWeb(object): for interface in interfaces: macaddress = args.get("macaddress-%s" % interface, "") ipaddress = args.get("ipaddress-%s" % interface, "") - hostname = args.get("hostname-%s" % interface, "") + dnsname = args.get("dns_name-%s" % interface, "") + staticroutes = args.get("static_routes-%s" % interface, "") static = args.get("static-%s" % interface, "") virtbridge = args.get("virtbridge-%s" % interface, "") dhcptag = args.get("dhcptag-%s" % interface, "") @@ -441,7 +442,8 @@ class CobblerWeb(object): mods = {} mods["macaddress-%s" % interface] = macaddress mods["ipaddress-%s" % interface] = ipaddress - mods["dnsname-%s" % interface] = hostname + mods["dnsname-%s" % interface] = dnsname + mods["static_routes-%s" % interface] = staticroutes mods["static-%s" % interface] = static mods["virtbridge-%s" % interface] = virtbridge mods["dhcptag-%s" % interface] = dhcptag |