cobbler patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Importing the FC7 DVD on FC7 fails for me if I use the automatically
created/mounted mountpoint that has spaces in it (Fedora 7 x86_64
DVD).   Simply adding quotes to action_import.py fixes the problem.

-Al

diff --git a/cobbler/action_import.py b/cobbler/action_import.py
index b9aaf0e..267207a 100644
--- a/cobbler/action_import.py
+++ b/cobbler/action_import.py
@@ -26,7 +26,7 @@ import shutil
 from rhpl.translate import _, N_, textdomain, utf8

 WGET_CMD = "wget --mirror --no-parent --no-host-directories
--directory-prefix %s/%s %s"
-RSYNC_CMD =  "rsync -a %s %s %s/ks_mirror/%s
--exclude-from=/etc/cobbler/rsync.exclude --
+RSYNC_CMD =  "rsync -a %s '%s' %s/ks_mirror/%s
--exclude-from=/etc/cobbler/rsync.exclude

 TRY_LIST = [
    "Fedora", "Packages", "RedHat", "Client", "Server", "Centos", "CentOS",

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux