aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 03:49:29 +0000
committertv <tv@krebsco.de>2026-11-20 03:49:29 +0000
commit1bb6c184f4aff2451af0aba600a8ba08d7c947e5 (patch)
treefb842b8865804e67019af56d389faf1603d6fb55 /README.md
parent3fe39b989ce4cb17ab2586e6c94bba4f0b1a98da (diff)
run-firecracker-vm: /home on a disk of its own, --home
/home is now on its own disk: a scratch file, removed when the guest exits, or with --home FILE, one that persists (created if it doesn't exist, sparse, --home-size, default 16G), handled like the store's (--store), and also locked against use by two VMs. Separate from the store, so either can be kept or thrown away. The images move one drive up (vdc, vdd, ...).
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2b6446a..a54ae48 100644
--- a/README.md
+++ b/README.md
@@ -65,7 +65,12 @@ removed when the guest exits. To keep it across boots:
```
The file gets created (sparse, default 16G) if it doesn't exist. Only one
-VM at a time can use it.
+VM at a time can use it. `/home` works the same way, on a disk of its
+own (scratch unless given, so it can be kept apart from the store):
+
+```sh
+./result/bin/run-firecracker-vm --home ~/fc-home.img [--home-size 50G]
+```
`/nixpkgs` is the nixpkgs the guest was built from (`<nixpkgs>`, checkout
or not); `--nixpkgs DIR` serves another one. It's not cached in the