diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-06-09 16:38:35 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-06-09 16:38:35 -0400 |
commit | f41648fb6e2cc7040fedfcef3e90d746addea116 (patch) | |
tree | 51c5ae2e40b3342a09e6e2c385c10296bcaa8431 | |
parent | 2e45aeefe02c531e8612578aa3281db7206c15b1 (diff) | |
download | cobbler-f41648fb6e2cc7040fedfcef3e90d746addea116.tar.gz cobbler-f41648fb6e2cc7040fedfcef3e90d746addea116.tar.xz cobbler-f41648fb6e2cc7040fedfcef3e90d746addea116.zip |
Fix mkdir invocation, since we no longer own the RPMs
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | cobbler/action_sync.py | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -5,6 +5,7 @@ Cobbler CHANGELOG - devel branch - added cobbler aclsetup command for running cobbler as non-root - added cobbler find command to do searches from the command line +- fix mkdir invocation - Wed Jun 03 2008 - 1.0.3 - Fix error message output from failed kickstart rendering diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index fab96a6b..4b72928a 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -132,9 +132,9 @@ class BootSync: pxelinux_dir = os.path.join(self.bootloc, "pxelinux.cfg") images_dir = os.path.join(self.bootloc, "images") if not os.path.exists(pxelinux_dir): - utils.makedir(pxelinux_dir) + utils.mkdir(pxelinux_dir) if not os.path.exists(images_dir): - utils.makedir(images_dir) + utils.mkdir(images_dir) utils.rmtree_contents(os.path.join(self.bootloc, "pxelinux.cfg")) utils.rmtree_contents(os.path.join(self.bootloc, "images")) |