From eb3142b01109931879fec30967ca5378486e6ab2 Mon Sep 17 00:00:00 2001 From: Benjamin Dweck Date: Mon, 12 Oct 2020 01:04:20 +0200 Subject: [PATCH] README.md edits --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aad335c..98fe152 100644 --- a/README.md +++ b/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