mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-26 04:51:34 +01:00
Small fix to contrib VirtualBox script
Fixed VirtualBox script to create final VDI file at correct location. Removed the file extension from VirtualBox script.
This commit is contained in:
parent
dd8e7c8be4
commit
a1941954e3
@ -218,7 +218,7 @@ chown -R $CORE_UID:$CORE_GID "${CORE_SSH_DIR}"
|
|||||||
umount "${MOUNT_DEST}"
|
umount "${MOUNT_DEST}"
|
||||||
|
|
||||||
echo "Converting ${RAW_IMAGE_NAME} to VirtualBox format..."
|
echo "Converting ${RAW_IMAGE_NAME} to VirtualBox format..."
|
||||||
VBoxManage convertdd ${DOWN_IMAGE} ${VDI_IMAGE_NAME} --format VDI
|
VBoxManage convertdd ${DOWN_IMAGE} ${VDI_IMAGE} --format VDI
|
||||||
|
|
||||||
rm -rf "${WORKDIR}"
|
rm -rf "${WORKDIR}"
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
Loading…
x
Reference in New Issue
Block a user