Last active
February 6, 2021 19:16
-
-
Save ekussa/ceac145d7d640df0c7260572c5bbbf85 to your computer and use it in GitHub Desktop.
To flash via balena cli - linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ++++++++++++++++++++++++++++++++++++++++++++++++++ | |
echo FLASH ISO | |
echo ++++++++++++++++++++++++++++++++++++++++++++++++++ | |
echo To: $1 | |
if [ -e /dev/sdb ] | |
then | |
echo "Flash drive detected" | |
else | |
echo "Please make sure that a flash drive is plugged" | |
fi | |
sudo balena-cli/balena local flash $1 --drive /dev/sdb --yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment