Merge pull request 'Fix what a real install showed' (#3) from first-boot-fixes into main
os / os (push) Waiting to run
os / os (push) Waiting to run
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
commit
bd98edbf3e
3 files changed
+10
-10
No files matched your search
@@ -10,6 +10,7 @@ image.
|
||||
`/usr`.
|
||||
- **Encrypted with a TPM:** everything that isn't read-only, such as `/etc`
|
||||
and `/var`, is encrypted. The TPM unlocks it only for correctly signed UKIs.
|
||||
There is no recovery key: if the TPM is lost, reinstall.
|
||||
- **Jobs in containers:** each job runs in its own privileged container on
|
||||
root's podman. Jobs with `runs-on: linux` run in our job image: Fedora with
|
||||
git, Node.js 26, podman and dnf, built with the OS and shipped in `/usr`.
|
||||
@@ -23,17 +24,16 @@ image.
|
||||
|
||||
Download [the disk image](https://git.plabble.org/api/packages/Job79/generic/runneros/latest/runneros.qcow2),
|
||||
resize it to the disk size you want and boot it with UEFI and a TPM. At first
|
||||
boot, the screen offers a recovery key for the encrypted disk and asks for a
|
||||
root password. Then it asks how many jobs to run at once, the Gitea URL and a
|
||||
boot, the screen asks for a timezone and a root password. Then it asks how many jobs to run at once, the Gitea URL and a
|
||||
registration token from Gitea's runner settings. It registers under the
|
||||
hostname, `runneros-` and four hex digits, and starts.
|
||||
|
||||
To change the number of parallel jobs later, run `systemctl edit
|
||||
gitea-runner` and set `Environment=CAPACITY=<jobs>` under `[Service]`.
|
||||
|
||||
To start over, run `systemctl start factory-reset.target` as root. It reboots
|
||||
and wipes the root partition (`/etc` and `/var`), and the VM sets itself up as
|
||||
at first boot.
|
||||
To start over, run `systemctl start factory-reset.target` as root. It reboots,
|
||||
the firmware asks to clear the TPM (press F12), and it wipes the root partition
|
||||
(`/etc` and `/var`). The VM then sets itself up as at first boot.
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in new issue
Block a user