README.md edits

This commit is contained in:
B.J. Dweck 2020-10-12 01:04:20 +02:00
parent d615f0b0aa
commit eb3142b011

View File

@ -21,7 +21,7 @@ EOF
* DISABLE_IPV6 - Disabled IPv6 on the RPi * DISABLE_IPV6 - Disabled IPv6 on the RPi
* USERNAME - Created a user with the given username * USERNAME - Created a user with the given username
* USERFULLNAME - Full name of the user to create * 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 * TORCH_CONFIG_DIR - Directory containing Torch [configuration](/bj/torch-agent) files
@ -33,16 +33,18 @@ Run `build.sh`
./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 ```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 ### Automatic Image Configuration
Place a decompressed Ubuntu Server `*.img` file in the project directory and 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 ```bash
sudo ./img-config.sh ubuntu-20.04.1-preinstalled-server-arm64+raspi.img sudo ./img-config.sh ubuntu-20.04.1-preinstalled-server-arm64+raspi.img