Skip to content

Commit

Permalink
Merge pull request #34 from sbates130272/dev/stephen/gen-vm-images-fix
Browse files Browse the repository at this point in the history
qemu/gen-vm: Fix a small bug in path to images folder
  • Loading branch information
sbates130272 committed Nov 14, 2023
2 parents d5399ab + caf8b66 commit 98f06b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qemu/gen-vm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if [ ! -f ${IMAGES}/${RELEASE}-server-cloudimg-${ARCH}.img ]; then
wget -P ${IMAGES} https://cloud-images.ubuntu.com/${RELEASE}/current/${RELEASE}-server-cloudimg-${ARCH}.img
fi
cp ${IMAGES}/${RELEASE}-server-cloudimg-${ARCH}.img ${IMAGES}/${VM_NAME}-backing.qcow2
qemu-img resize ~/images/${VM_NAME}-backing.qcow2 ${SIZE}G
qemu-img resize ${IMAGES}/${VM_NAME}-backing.qcow2 ${SIZE}G

if [ ! -f $SSH_KEY_FILE ]; then
echo "SSH_KEY_FILE ${SSH_KEY_FILE} does not exist!"
Expand Down

0 comments on commit 98f06b9

Please sign in to comment.