Add runtime options and schema
This commit is contained in:
parent
e4039ca7e9
commit
eedc1fe1d8
4 changed files with 2034 additions and 24 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue