From 7fe5d10a7387fb8f7d972567db54b3e0927081c5 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 23 Apr 2008 15:13:49 -0400 Subject: apply URL changes to PXE also --- cobbler/pxegen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cobbler') 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) -- cgit