aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml')
-rw-r--r--nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml b/nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml
index 31216874c70..a11a9382764 100644
--- a/nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml
+++ b/nixpkgs/nixos/doc/manual/development/running-nixos-tests-interactively.xml
@@ -38,7 +38,12 @@ starting VDE switch for network 1
</para>
<para>
- The machine state is kept across VM restarts in
- <filename>/tmp/vm-state-</filename><varname>machinename</varname>.
+ You can re-use the VM states coming from a previous run
+ by setting the <command>--keep-vm-state</command> flag.
+<screen>
+<prompt>$ </prompt>./result/bin/nixos-run-vms --keep-vm-state
+</screen>
+ The machine state is stored in the
+ <filename>$TMPDIR/vm-state-</filename><varname>machinename</varname> directory.
</para>
</section>