aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 04:12:43 +0000
committertv <tv@krebsco.de>2026-11-20 04:12:43 +0000
commit2d3fabb736e681d1b3f5f91e2d7897ea35aa4c58 (patch)
tree6654e360d82b496fc3468823bb37c33200d9999f /README.md
parent1bb6c184f4aff2451af0aba600a8ba08d7c947e5 (diff)
run-firecracker-vm: no /home disk without --home
Without --home, /home is now simply part of the guest's root file system (a tmpfs, gone when it exits, as before), instead of a scratch disk. With --home, the disk is attached after the images, and the run script puts fc.home on the kernel command line, which makes a small generator in the guest mount it, so a guest without it doesn't wait for a drive that isn't there. The images are back at vdb, vdc, ...
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index a54ae48..66eed4a 100644
--- a/README.md
+++ b/README.md
@@ -65,8 +65,9 @@ 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. `/home` works the same way, on a disk of its
-own (scratch unless given, so it can be kept apart from the store):
+VM at a time can use it. `/home` is gone when the guest exits, too,
+unless given a disk of its own, which works the same way (kept apart
+from the store, so either can be kept or thrown away):
```sh
./result/bin/run-firecracker-vm --home ~/fc-home.img [--home-size 50G]