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

Pino Toscano ptoscano at redhat.com
Tue Mar 26 13:24:15 UTC 2019


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




More information about the Libguestfs mailing list