diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-06-26 15:24:45 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-06-26 15:24:45 -0400 |
commit | fb34dde355b19907de0eeb90ebd4dcbc7da74e48 (patch) | |
tree | 5dc92c041f35099736471d4f55ac848678fe3a7b /cobbler/action_sync.py | |
parent | c4b5e55b793e56b6aadd7055be64e7e5ad71c8e5 (diff) | |
download | cobbler-fb34dde355b19907de0eeb90ebd4dcbc7da74e48.tar.gz cobbler-fb34dde355b19907de0eeb90ebd4dcbc7da74e48.tar.xz cobbler-fb34dde355b19907de0eeb90ebd4dcbc7da74e48.zip |
Request kickstart files based on system.name, not pxeification, since newer
koan does not pxeify request URLs.
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r-- | cobbler/action_sync.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index 2a4d7b68..2e0c018b 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -428,10 +428,10 @@ class BootSync: meta = utils.blender(False, s) kickstart_path = utils.find_kickstart(meta["kickstart"]) if kickstart_path and os.path.exists(kickstart_path): - pxe_fn = utils.get_config_filename(s) + # pxe_fn = utils.get_config_filename(s) copy_path = os.path.join(self.settings.webdir, "kickstarts_sys", # system kickstarts go here - pxe_fn + s.name ) self.mkdir(copy_path) dest = os.path.join(copy_path, "ks.cfg") @@ -626,8 +626,8 @@ class BootSync: if kickstart_path is not None and kickstart_path != "": if system is not None and kickstart_path.startswith("/"): - pxe_fn = utils.get_config_filename(system) - kickstart_path = "http://%s/cblr/kickstarts_sys/%s/ks.cfg" % (self.settings.server, pxe_fn) + # pxe_fn = utils.get_config_filename(system) + kickstart_path = "http://%s/cblr/kickstarts_sys/%s/ks.cfg" % (self.settings.server, system.name) elif kickstart_path.startswith("/") or kickstart_path.find("/cobbler/kickstarts/") != -1: kickstart_path = "http://%s/cblr/kickstarts/%s/ks.cfg" % (self.settings.server, profile.name) |