mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-09 21:33:23 +00:00
tests/vfio: Get rid of sync's
It is fine to start a VM with the disk image without syncing it as we now run
the test in an ephemeral Azure instance.
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
(cherry picked from commit df3dc1105c
)
This commit is contained in:
parent
a1aed0c78e
commit
82a0225159
@ -219,11 +219,9 @@ pull_fedora_cloud_image() {
|
|||||||
if [ ! -f "${fedora_img_cache}" ]; then
|
if [ ! -f "${fedora_img_cache}" ]; then
|
||||||
curl -sL ${fedora_img_url} -o "${fedora_img_cache}.xz"
|
curl -sL ${fedora_img_url} -o "${fedora_img_cache}.xz"
|
||||||
xz -f -d "${fedora_img_cache}.xz"
|
xz -f -d "${fedora_img_cache}.xz"
|
||||||
sync
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -a "${fedora_img_cache}" "${fedora_img}"
|
cp -a "${fedora_img_cache}" "${fedora_img}"
|
||||||
sync
|
|
||||||
|
|
||||||
# setup cloud image
|
# setup cloud image
|
||||||
sudo losetup -D
|
sudo losetup -D
|
||||||
|
Loading…
Reference in New Issue
Block a user