diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-12 10:31:26 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-12 10:31:26 -0400 |
commit | 8bc0772562d2a9fa0b59ba5fe2f7894237dc5060 (patch) | |
tree | 6cd562024d29b1be8d5ca3aab477e88173e7b859 /scripts | |
parent | be10c5605d5376a8c5c14a3be5b306bb951fd0f2 (diff) | |
download | third_party-cobbler-8bc0772562d2a9fa0b59ba5fe2f7894237dc5060.tar.gz third_party-cobbler-8bc0772562d2a9fa0b59ba5fe2f7894237dc5060.tar.xz third_party-cobbler-8bc0772562d2a9fa0b59ba5fe2f7894237dc5060.zip |
Apply Al Tobey's patchset to Cobbler Web UI.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cobbler_webui.cgi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/cobbler_webui.cgi b/scripts/cobbler_webui.cgi index 42387bd..4c086c4 100755 --- a/scripts/cobbler_webui.cgi +++ b/scripts/cobbler_webui.cgi @@ -1,4 +1,15 @@ #!/usr/bin/env python +# +# Web Interface for Cobbler - CGI Controller +# +# Copyright 2007 Albert P. Tobey <tobert@gmail.com> +# +# This software may be freely redistributed under the terms of the GNU +# general public license. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. import cgi import cgitb @@ -38,7 +49,7 @@ def main(): if len(val) == 1: form[key] = val[0] - cw = CobblerWeb( server="http://localhost:25151", base_url=base_url() ) + cw = CobblerWeb( server="http://localhost/cobbler_api_rw", base_url=base_url(), username='testuser', password='llamas2007' ) if path in cw.modes(): func = getattr( cw, path ) |