mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +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>
This commit is contained in:
parent
7211c3dccc
commit
df3dc1105c
@ -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