Skip to content

Commit

Permalink
buildman: fix vm image name in startup script (PROJQUAY-2120) (#811)
Browse files Browse the repository at this point in the history
Reference correct filename in start.sh
  • Loading branch information
kleesc authored Jun 16, 2021
1 parent 62e3bd9 commit bfb8602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildman/qemu-coreos/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -o nounset

echo "${USERDATA}" > /userdata/user_data

MIN_IMAGE_SIZE_BYTES=$(qemu-img info rhcos-47.83.202011301442-0-qemu.x86_64.qcow2 | grep "virtual size" | cut -d " " -f 5 | tr -d "()")
MIN_IMAGE_SIZE_BYTES=$(qemu-img info coreos_production_qemu_image.qcow2 | grep "virtual size" | cut -d " " -f 5 | tr -d "()")
VM_VOLUME_SIZE_BYTES=$(numfmt --from=iec $VM_VOLUME_SIZE)

if [ "$VM_VOLUME_SIZE_BYTES" -gt "$MIN_IMAGE_SIZE_BYTES" ]
Expand Down

0 comments on commit bfb8602

Please sign in to comment.