Add runtime options and schema

This commit is contained in:
Thales Maciel 2026-01-29 00:59:48 -03:00
parent e4039ca7e9
commit eedc1fe1d8
No known key found for this signature in database
GPG key ID: 33112E6833C34679
4 changed files with 2034 additions and 24 deletions

View file

@ -17,6 +17,15 @@ Minimal Firecracker launcher.
./run.sh
```
## Run Options
```
./run.sh --name calm_otter --vcpu 4 --ram 2048 --disk-size 6G
```
- `--name`: must be unique and match `[a-z0-9][a-z0-9_-]{0,63}`.
- `--vcpu`: defaults to 2, max 16.
- `--ram`: MiB, defaults to 1024, max 32768.
- `--disk-size`: M/G suffixes supported; must be >= base `rootfs.ext4` size. Requires `resize2fs`.
## SSH
```
ssh -i "./id_ed25519" root@<guest_ip>