Export to virtualbox format
This commit is contained in:
parent
89c1a4201b
commit
17050ada7f
|
@ -205,7 +205,13 @@ fi
|
|||
mv build/${PROJECT_NAME}*.bz2 ${CURR_DIR}
|
||||
mv build/${PROJECT_NAME}*.img ${CURR_DIR}
|
||||
mv build/${PROJECT_NAME}*.sig ${CURR_DIR}
|
||||
#rm -rf ${BUILD_DIR}
|
||||
rm -rf ${BUILD_DIR}
|
||||
|
||||
cd ${CURR_DIR}
|
||||
if [[ $IMAGE_TYPE == "virtualbox"* ]]; then
|
||||
imgfiles=(${PROJECT_NAME}*.img)
|
||||
VBoxManage convertfromraw --format VDI ${imgfiles[0]} ${imgfiles[0]}.vdi
|
||||
fi
|
||||
|
||||
clear
|
||||
echo "
|
||||
|
@ -217,7 +223,6 @@ You will be able to log into it with:
|
|||
|
||||
Password: $PASSWORD
|
||||
"
|
||||
cd ${CURR_DIR}
|
||||
ls -lh ${PROJECT_NAME}*.img ${PROJECT_NAME}*.sig ${PROJECT_NAME}*.bz2
|
||||
|
||||
# record the default login credentials for later use
|
||||
|
|
Loading…
Reference in New Issue