summaryrefslogtreecommitdiffstats
path: root/scripts/index.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2009-01-23 16:40:10 -0500
committerMichael DeHaan <mdehaan@redhat.com>2009-01-23 16:40:10 -0500
commitf24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f (patch)
tree4cfdbc77a8f6b6f3c40b1a3e5a407b31c0044c46 /scripts/index.py
parent8e99fe1d81c7e4dfc2901ffe7fd3b6579051ecfb (diff)
downloadcobbler-f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f.tar.gz
cobbler-f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f.tar.xz
cobbler-f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f.zip
Consolidating services to use just one port, removed syslog logging since we have anamon
Diffstat (limited to 'scripts/index.py')
-rwxr-xr-xscripts/index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/index.py b/scripts/index.py
index 26b86f36..bf3b17c9 100755
--- a/scripts/index.py
+++ b/scripts/index.py
@@ -23,7 +23,7 @@ from cobbler.webui import CobblerWeb
import cobbler.utils as utils
import cobbler.yaml as yaml
-XMLRPC_SERVER = "http://127.0.0.1:25152" # was http://127.0.0.1/cobbler_api_rw"
+XMLRPC_SERVER = "http://127.0.0.1:25151" # FIXME: pull port from settings
#=======================================
@@ -110,7 +110,7 @@ def handler(req):
data = fd.read()
fd.close()
ydata = yaml.load(data).next()
- remote_port = ydata.get("xmlrpc_rw_port", 25152)
+ remote_port = ydata.get("xmlrpc_port", 25151)
mode = form.get('mode','index')