diff options
| author | tv <tv@krebsco.de> | 2026-11-20 05:09:07 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-20 05:09:07 +0000 |
| commit | 1d1e32b91fca92e32ab95474dcfdddf43bf03193 (patch) | |
| tree | eaecac03c66ddedd8da444e96d78341b2518830a /README.md | |
| parent | 0c5a5f628d8ffe00464fb0671125d185115e8c47 (diff) | |
run-firecracker-vm: name layer images after their files
A layer's image is now firecracker-layer-K-NAME.img, NAME being the
layer's file name without .nix (or, for .../NAME/default.nix, NAME).
Layers that aren't files, and the base system, keep just the number.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -90,7 +90,8 @@ nix-build pkgs/run-firecracker-vm --arg layers '[ ./base-tools.nix ./my-service. The guest runs the top layer's system. Each layer gets its own image, with only the store paths the layers below don't have, so the base image, and those of layers below, stay the same whatever goes on top: -a service layer costs a small image of its own. Changing a layer +a service layer costs a small image of its own, named after its file +(`firecracker-layer-2-my-service.img`). Changing a layer changes the images of the layers above it. To use a cut-down kernel, based on Firecracker's recommended guest |
