Instructions after image build

This commit is contained in:
Bob Mottram 2015-11-25 11:43:57 +00:00
parent c539cb2cf4
commit 4d61630fb4
1 changed files with 8 additions and 0 deletions

View File

@ -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