README.md edits
This commit is contained in:
parent
d615f0b0aa
commit
eb3142b011
10
README.md
10
README.md
|
@ -21,7 +21,7 @@ EOF
|
|||
* DISABLE_IPV6 - Disabled IPv6 on the RPi
|
||||
* USERNAME - Created a user with the given username
|
||||
* USERFULLNAME - Full name of the user to create
|
||||
* SSH_PUBKEY - Pubkey to copy to the ~/.ssh directory for SSH access
|
||||
* SSH_PUBKEY - Pubkey to copy to the `~/.ssh` directory for SSH access
|
||||
* TORCH_CONFIG_DIR - Directory containing Torch [configuration](/bj/torch-agent) files
|
||||
|
||||
|
||||
|
@ -33,16 +33,18 @@ Run `build.sh`
|
|||
./build.sh
|
||||
```
|
||||
|
||||
Find the built configuration bundle in the `build` directory and extract it to the boot partition of the SD card after the Ubuntu server image has been burned
|
||||
Find the built configuration bundle `rpi-cloud-init.tgz` in the `build` directory.
|
||||
|
||||
Extract `rpi-cloud-init.tgz` to the boot partition of the SD card after the Ubuntu server image has been burned.
|
||||
|
||||
```bash
|
||||
tar -xzvf build/rpi-cloud-init.tgz /mnt/rpi-boot/
|
||||
tar -xzvf build/rpi-cloud-init.tgz -C /mnt/rpi-boot
|
||||
```
|
||||
|
||||
### Automatic Image Configuration
|
||||
|
||||
Place a decompressed Ubuntu Server `*.img` file in the project directory and
|
||||
use `img-config.sh` to build and dope the boot partition of `*.img` file directly
|
||||
use `img-config.sh` to both build the project and dope the boot partition of `*.img` file directly
|
||||
|
||||
```bash
|
||||
sudo ./img-config.sh ubuntu-20.04.1-preinstalled-server-arm64+raspi.img
|
||||
|
|
Loading…
Reference in New Issue
Block a user