[Libguestfs] [PATCH 2/3] v2v: test-v2v-conversion-of.sh: update the guest

Richard W.M. Jones rjones at redhat.com
Tue Mar 26 13:47:50 UTC 2019


On Tue, Mar 26, 2019 at 02:24:15PM +0100, Pino Toscano wrote:
> Make sure the create guest is always up-to-date: this way it is possible
> to test the conversion even taking into account the latest upgrades
> available.
> ---
>  v2v/test-v2v-conversion-of.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/v2v/test-v2v-conversion-of.sh b/v2v/test-v2v-conversion-of.sh
> index 29c1eb4bb..48d7ce88d 100755
> --- a/v2v/test-v2v-conversion-of.sh
> +++ b/v2v/test-v2v-conversion-of.sh
> @@ -57,7 +57,7 @@ case "$guestname" in
>  esac
>  
>  # Build a guest (using virt-builder).
> -virt-builder "$guestname" --quiet -o "$disk" "${extra[@]}"
> +virt-builder "$guestname" --quiet -o "$disk" "${extra[@]}" --update
>  
>  # Create some minimal test metadata.
>  cat > "$xml" <<EOF
> -- 
> 2.20.1

ACK series.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list