From 8bc0772562d2a9fa0b59ba5fe2f7894237dc5060 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 12 Sep 2007 10:31:26 -0400 Subject: Apply Al Tobey's patchset to Cobbler Web UI. --- scripts/cobbler_webui.cgi | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'scripts') 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 +# +# 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 ) -- cgit