Skip to content

Commit

Permalink
DLPX-87038 VMDK file size differs from the size in the OVF file (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi authored Jul 31, 2023
1 parent c707838 commit c30d05d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ esac

DATE=$(date --utc --iso-8601=seconds)

VMDK_FILESIZE=$(qemu-img info --output=json "$ARTIFACT_NAME.vmdk" |
jq '.["actual-size"]')
VMDK_FILESIZE=$(stat -c %s "$ARTIFACT_NAME.vmdk")
VMDK_CAPACITY=$(qemu-img info --output=json "$ARTIFACT_NAME.vmdk" |
jq '.["virtual-size"]')

Expand Down

0 comments on commit c30d05d

Please sign in to comment.