Skip to content

Commit 4e8bf63

Browse files
committed
Update readme to reflect new functionality
1 parent d0d8a17 commit 4e8bf63

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,37 @@ make build IMAGE=l2-builder
4747
# Build with development tools
4848
make build-dev IMAGE=flashbox-l1
4949

50+
# Build dev image with serial console + password auth enabled
51+
make build-dev IMAGE=flashbox-l1 SERIAL_CONSOLE=true
52+
5053
# View all available targets
5154
make help
5255
```
5356

57+
#### Dev image SSH access
58+
59+
Dev images (`build-dev`) use SSH authorized keys for root login instead of a password. Before building, place your public key at:
60+
61+
```
62+
mkosi.profiles/devtools/authorized_keys
63+
```
64+
65+
This file is gitignored, so you can add a personal public key. For example:
66+
67+
```bash
68+
cp ~/.ssh/id_ed25519.pub mkosi.profiles/devtools/authorized_keys
69+
```
70+
71+
Once the image is running, SSH in as root:
72+
73+
```bash
74+
ssh -p 2222 root@localhost
75+
```
76+
77+
#### Serial console
78+
79+
Pass `SERIAL_CONSOLE=true` to enable the serial console service and password authentication. This also sets a fixed root password (`dqSPjo4p`) for SSH login, so only use this for local development/debugging.
80+
5481
### Measuring TDX Boot Process
5582

5683
**Export TDX measurements** for the built image:

0 commit comments

Comments
 (0)