summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-04-23 15:13:49 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-04-23 15:13:49 -0400
commit7fe5d10a7387fb8f7d972567db54b3e0927081c5 (patch)
treeda47d4fef76bb91e4e6d63edc8307ff3ff4bf56f /cobbler
parent7e7533b8011e43f9d380275d91d2b69b2ed36162 (diff)
downloadthird_party-cobbler-7fe5d10a7387fb8f7d972567db54b3e0927081c5.tar.gz
third_party-cobbler-7fe5d10a7387fb8f7d972567db54b3e0927081c5.tar.xz
third_party-cobbler-7fe5d10a7387fb8f7d972567db54b3e0927081c5.zip
apply URL changes to PXE also
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/pxegen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/pxegen.py b/cobbler/pxegen.py
index e39fdc8..8cb8c93 100644
--- a/cobbler/pxegen.py
+++ b/cobbler/pxegen.py
@@ -283,9 +283,9 @@ class PXEGen:
if kickstart_path is not None and kickstart_path != "":
if system is not None and kickstart_path.startswith("/"):
- kickstart_path = "http://%s/cblr/svc/?op=ks&system=%s" % (blended["http_server"], system.name)
+ kickstart_path = "http://%s/cblr/svc/op/ks/system/%s" % (blended["http_server"], system.name)
elif kickstart_path.startswith("/") or kickstart_path.find("/cobbler/kickstarts/") != -1:
- kickstart_path = "http://%s/cblr/svc/?op=ks&profile=%s" % (blended["http_server"], profile.name)
+ kickstart_path = "http://%s/cblr/svc/op/ks/profile/%s" % (blended["http_server"], profile.name)
if distro.breed is None or distro.breed == "redhat":
append_line = "%s ks=%s" % (append_line, kickstart_path)