diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-04-23 15:13:49 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-04-23 15:13:49 -0400 |
commit | 7fe5d10a7387fb8f7d972567db54b3e0927081c5 (patch) | |
tree | da47d4fef76bb91e4e6d63edc8307ff3ff4bf56f /cobbler | |
parent | 7e7533b8011e43f9d380275d91d2b69b2ed36162 (diff) | |
download | third_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.py | 4 |
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) |