aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 05:09:07 +0000
committertv <tv@krebsco.de>2026-11-20 05:09:07 +0000
commit1d1e32b91fca92e32ab95474dcfdddf43bf03193 (patch)
treeeaecac03c66ddedd8da444e96d78341b2518830a /README.md
parent0c5a5f628d8ffe00464fb0671125d185115e8c47 (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.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 66eed4a..e2c809f 100644
--- a/README.md
+++ b/README.md
@@ -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