[et-mgmt-tools] cobbler patch

Michael DeHaan mdehaan at redhat.com
Mon Sep 24 14:43:06 UTC 2007


Al Tobey wrote:
> 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
>
>   

Applied, thanks!

> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>   




More information about the et-mgmt-tools mailing list