diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-04-17 16:42:50 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-04-17 16:42:50 -0400 |
commit | 71d051435420f49f915aab8895d3ca4396c8ccc8 (patch) | |
tree | ea15b4c5ca9c79124ec0eaa140d0ff9469e3443e /scripts | |
parent | 143f4e068dc1a7e2f5b7196bcfc9a7317bf11fcc (diff) | |
download | third_party-cobbler-71d051435420f49f915aab8895d3ca4396c8ccc8.tar.gz third_party-cobbler-71d051435420f49f915aab8895d3ca4396c8ccc8.tar.xz third_party-cobbler-71d051435420f49f915aab8895d3ca4396c8ccc8.zip |
(A) The Python-yaml open source code that we had been using apparently didn't have copyright headers (not sure why, we absolutely positively want them there) so I'm adding them now. Similarly, I have included a copy of the license of the library in the docs directory.
(B) This checkin also includes some work on the status command.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install_trigger.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install_trigger.cgi b/scripts/install_trigger.cgi index 493591f..c8d065b 100644 --- a/scripts/install_trigger.cgi +++ b/scripts/install_trigger.cgi @@ -42,8 +42,9 @@ def parse_query(): form = cgi.parse() mac = "?" - if os.environ.has_key("HTTP_X_RHN_PROVISIONING_MAC_0"): - devicepair = os.environ["HTTP_X_RHN_PROVISIONING_MAC_0"] + + if os.environ.has_key("X-RHN-Provisioning-MAC-0"): + devicepair = os.environ["X-RHN-Provisioning-MAC-0"] mac = devicepair.split()[1].strip() ip = "?" |