add docs for writing media

This commit is contained in:
Lance Vick 2024-08-03 09:17:35 -07:00
parent 8dcd8df5ef
commit 286a2b5f37
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 12 additions and 0 deletions

View File

@ -66,6 +66,18 @@ make attest
make sign make sign
``` ```
## Provisioning ##
1. Write airgap.iso to CD-ROM or SD Card
a. `dd if=out/airgap.iso of=/dev/sda bs=1M conv=sync status=progress`
b. `cdrecord out/airgap.iso`
2. Verify media still produces expected hash
```
sha256sum out/airgap.iso
head -c $(stat -c '%s' airgap.iso) /dev/sda | sha256sum
```
## Setup ## ## Setup ##
Assumes target is running Pureboot or Coreboot/heads Assumes target is running Pureboot or Coreboot/heads