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

Re: [Libguestfs] [PATCH 2/2] builder: run virt-resize with --unknown-filesystems=error



On Fri, Oct 23, 2015 at 06:28:59PM +0200, Pino Toscano wrote:
> This way, we can make sure that if a template needs to be expanded, the
> result will have all the filesystems correctly expanded, fitting into
> the new sizes of their partitions.
> ---
>  builder/builder.ml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/builder/builder.ml b/builder/builder.ml
> index 6850f8f..feb6e0d 100644
> --- a/builder/builder.ml
> +++ b/builder/builder.ml
> @@ -575,7 +575,7 @@ let main () =
>          if verbose () then g#set_verbose true;
>          g#disk_create ?preallocation ofile oformat osize in
>        let cmd =
> -        sprintf "virt-resize%s%s%s --output-format %s%s%s %s %s"
> +        sprintf "virt-resize%s%s%s --output-format %s%s%s --unknown-filesystems error %s %s"
>            (if verbose () then " --verbose" else " --quiet")
>            (if is_block_device ofile then " --no-sparse" else "")
>            (match iformat with
> -- 
> 2.1.0

The series looks fine, so ACK series.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW


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