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

Re: [Xen-devel] [PATCH OSSTEST 6/6] ts-debian-install: pass 'Mb' as memory size



On Fri, 2013-09-20 at 10:15 +0100, Wei Liu wrote:
> The original code passed 'M' which triggers Debian bug #691320 in
> Wheezy.
> 
> Passing 'Mb' should work both for Squeeze and Wheezy.
> 
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
>  ts-debian-install |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ts-debian-install b/ts-debian-install
> index 28f95cc..fad2d0c 100755
> --- a/ts-debian-install
> +++ b/ts-debian-install
> @@ -66,7 +66,7 @@ sub ginstall () {
>      target_cmd_root($ho, <<END, 2000);
>          xen-create-image \\
>              --dhcp --mac $gho->{Ether} \\
> -         --memory ${ram_mb}M --swap ${swap_mb}M \\
> +            --memory ${ram_mb}Mb --swap ${swap_mb}M \\

The docs use Mb etc for --swap too. I think we should be consistent...

>              --dist $gsuite \\
>              --mirror http://$c{DebianMirrorHost}/$c{DebianMirrorSubpath} \\
>              --hostname $gho->{Name} \\



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.