Instructions after image build
This commit is contained in:
parent
c539cb2cf4
commit
4d61630fb4
|
@ -244,4 +244,12 @@ echo "Username: $USERNAME
|
||||||
Password: $PASSWORD" > ${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt
|
Password: $PASSWORD" > ${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt
|
||||||
chmod 600 ${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt
|
chmod 600 ${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt
|
||||||
|
|
||||||
|
if [[ $IMAGE_TYPE != "virtualbox"* && $IMAGE_TYPE != "qemu"* ]]; then
|
||||||
|
echo ''
|
||||||
|
echo 'You can copy the image to a microSD card with:'
|
||||||
|
echo ''
|
||||||
|
echo " sudo dd bs=1M if=$(ls ${PROJECT_NAME}*.img) of=/dev/sdX conv=fdatasync"
|
||||||
|
echo ''
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue