README: use sdx to prevent mistakes
This commit is contained in:
parent
9d10c020d8
commit
d3f89caa0a
@ -19,18 +19,18 @@ Add the `github.com/gokrazy/breakglass` package to your `gokr-packer`
|
|||||||
command, e.g.:
|
command, e.g.:
|
||||||
|
|
||||||
```
|
```
|
||||||
gokr-packer -overwrite=/dev/sdb \
|
gokr-packer -overwrite=/dev/sdx \
|
||||||
github.com/gokrazy/hello \
|
github.com/gokrazy/hello \
|
||||||
github.com/gokrazy/breakglass
|
github.com/gokrazy/breakglass
|
||||||
```
|
```
|
||||||
|
|
||||||
On the permanent file system of your gokrazy installation, create a
|
On the permanent file system of your gokrazy installation, create a
|
||||||
host key and an authorized keys file. Assuming you mounted the
|
host key and an authorized keys file. Assuming you mounted the
|
||||||
permanent file system at `/media/sdb4`:
|
permanent file system at `/media/sdx4`:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo ssh-keygen -N '' -t rsa -f /media/sdb4/breakglass.host_key
|
sudo ssh-keygen -N '' -t rsa -f /media/sdx4/breakglass.host_key
|
||||||
sudo install -m 600 ~/.ssh/authorized_keys /media/sdb4/breakglass.authorized_keys
|
sudo install -m 600 ~/.ssh/authorized_keys /media/sdx4/breakglass.authorized_keys
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user