docs: move testing details from README to AGENTS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+43
-5
No files matched your search
@@ -29,12 +29,11 @@ mkosi build
|
||||
|
||||
`mkosi.output/` then holds the disk image (`agent_<version>.raw`) and the UKI and root partitions that make up an update.
|
||||
|
||||
To build and boot a test VM with Secure Boot (needs `qemu-kvm-core edk2-ovmf`):
|
||||
To build and boot a test VM (needs `qemu-kvm-core edk2-ovmf`):
|
||||
|
||||
```sh
|
||||
mkosi -f vm
|
||||
mkosi -f vm # log in as root, password test
|
||||
ssh -p 2222 claude@localhost # with your own key
|
||||
```
|
||||
|
||||
The `[Runtime]` section of `mkosi.conf` answers the setup, so it boots straight to a login (root, password `test`). Then `ssh -p 2222 claude@localhost` with your own key (`mkosi.credentials/agent.ssh-key`).
|
||||
|
||||
`mkosi vm` needs systemd on the host. Without it, such as in a dev container, run mkosi in a privileged container that boots systemd and has `mkosi qemu-kvm-core edk2-ovmf systemd-repart openssh-clients` and `$(mkosi dependencies)` installed, with `/dev/kvm` and the repository mounted.
|
||||
[AGENTS.md](AGENTS.md) has the details, such as testing from a dev container.
|
||||
Reference in new issue
Block a user