Skip to content

Instantly share code, notes, and snippets.

@ekussa
Last active February 6, 2021 19:16
Show Gist options
  • Save ekussa/ceac145d7d640df0c7260572c5bbbf85 to your computer and use it in GitHub Desktop.
Save ekussa/ceac145d7d640df0c7260572c5bbbf85 to your computer and use it in GitHub Desktop.
To flash via balena cli - linux
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