summaryrefslogtreecommitdiffstats
path: root/cobbler/action_sync.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-09-22 14:09:36 -0400
committerJim Meyering <jim@meyering.net>2006-09-22 14:09:36 -0400
commit751faed1b253841c97678391541fa90501c0089e (patch)
treea3850468628308774d0d2f83db961e48c24b2b24 /cobbler/action_sync.py
parentb1a61c7ed7ce465dfd8b9e84b943f91651a912bb (diff)
downloadthird_party-cobbler-751faed1b253841c97678391541fa90501c0089e.tar.gz
third_party-cobbler-751faed1b253841c97678391541fa90501c0089e.tar.xz
third_party-cobbler-751faed1b253841c97678391541fa90501c0089e.zip
Package elilo for IA64
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r--cobbler/action_sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index b7240f0..40a8135 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -69,7 +69,9 @@ class BootSync:
"""
for loader in self.settings.bootloaders.keys():
path = self.settings.bootloaders[loader]
- self.copy(path, os.path.join(self.settings.tftpboot, loader))
+ newname = os.path.basename(path)
+ destpath = os.path.join(self.settings.tftpboot, newname)
+ self.copy(path, destpath)
def configure_httpd(self):
"""