| @@ -2,18 +2,19 @@ snapaid | |||||
| ======= | ======= | ||||
| This is a utility that will make it easier to find and download the | This is a utility that will make it easier to find and download the | ||||
| correct snapshot. It will also fetch and verify the GPG signature | |||||
| and hash of the snapshot to ensure that you are getting the correct | |||||
| file. | |||||
| correct snapshot or release. It will also fetch and verify the GPG | |||||
| signature and hash of the snapshot to ensure that you are getting the | |||||
| correct file. | |||||
|  |  | ||||
| Quick Start | Quick Start | ||||
| ------------- | |||||
| ----------- | |||||
| The only file needed for this is the snapaid.sh script. The other files | |||||
| are used for generating the index. | |||||
| The only file needed is the snapaid.sh script. The other files in the | |||||
| repo are used for generating the index. | |||||
| Setting up and finding a snapshot: | |||||
| ``` | ``` | ||||
| $wget https://www.funkthat.com/gitea/jmg/snapaid/raw/branch/master/snapaid.sh | $wget https://www.funkthat.com/gitea/jmg/snapaid/raw/branch/master/snapaid.sh | ||||
| $chmod 755 snapaid.sh | $chmod 755 snapaid.sh | ||||
| @@ -32,6 +33,23 @@ Each term between `find` and `1` refines the search, and the `1` selects | |||||
| the first image. The list is sorted by date, then by release, where | the first image. The list is sorted by date, then by release, where | ||||
| the latest is shown first. | the latest is shown first. | ||||
| Verifying | |||||
| --------- | |||||
| If you've already installed and setup snapaid.sh previously, you can skip | |||||
| the first two lines. | |||||
| Setting up and verifying a snapshot or release: | |||||
| ``` | |||||
| $wget https://www.funkthat.com/gitea/jmg/snapaid/raw/branch/master/snapaid.sh | |||||
| $chmod 755 snapaid.sh | |||||
| $./snapaid.sh verify FreeBSD-12.2-RELEASE-amd64-mini-memstick.img.xz | |||||
| ``` | |||||
| Note that the provided filename MUST match exactly the released name so | |||||
| that it can be found in the index. It could be possible in the future | |||||
| to find it via shasum, but that is not implemented yet. | |||||
| Notes | Notes | ||||
| ----- | ----- | ||||