Scott Dodson wrote:
> We need to replace - with -- in the volume group name
> as well as the logical volume portion of the path.
> ---
> koan/app.py | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/koan/app.py b/koan/app.py
> index bd5c6d2..56e32d5 100755
> --- a/koan/app.py
> +++ b/koan/app.py
> @@ -1338,7 +1338,8 @@ class Koan:
> raise InfoException, "LVM creation failed"
>
> # return partition location
> - return "/dev/mapper/%s-%s" %
> (location,name.replace('-','--'))
> + return "/dev/mapper/%s-%s" % (location.replace('-','--'),
> + name.replace('-','--'))
> else:
> raise InfoException, "volume group needs %s GB free space."
> % virt_size
>
>
Applied to devel, thanks!
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler