use GOKRAZY_UPDATE envvar to avoid exposing passwords in argv

fixes #38
This commit is contained in:
Michael Stapelberg 2018-03-29 11:59:54 +02:00
parent a470a80ae1
commit 5760e0f265

View File

@ -58,7 +58,7 @@ go get -u github.com/gokrazy/tools/cmd/gokr-packer
To update your gokrazy installation (running on a Raspberry Pi 3), To update your gokrazy installation (running on a Raspberry Pi 3),
use: use:
``` ```
gokr-packer -update=http://gokrazy:mysecretpassword@gokrazy/ github.com/gokrazy/hello GOKRAZY_UPDATE=http://gokrazy:mysecretpassword@gokrazy/ gokr-packer github.com/gokrazy/hello
``` ```
# SD card contents # SD card contents