diff options
author | Helmut Grohne <helmutg@debian.org> | 2023-01-07 20:09:27 +0000 |
---|---|---|
committer | Helmut Grohne <helmutg@debian.org> | 2023-01-07 20:09:27 +0000 |
commit | bf7817528fd66da299f85c26732cfde33824f7c7 (patch) | |
tree | bc8fb4d8164ed6e09625d33906cb727d446461fa /debvm-run | |
parent | de79a0307f460cb572a259a3ea09c5c2bf920ee9 (diff) | |
parent | ebf8917c9791659df8c995993484a21be922f2e1 (diff) | |
download | debvm-bf7817528fd66da299f85c26732cfde33824f7c7.tar.gz |
Merge branch 'josch' into 'main'
debvm-run: add an example (I always forget about the -snapshot option)
See merge request helmutg/debvm!17
Diffstat (limited to 'debvm-run')
-rwxr-xr-x | debvm-run | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -49,6 +49,15 @@ One possible use of this method is passing B<-snapshot> to avoid modifying the v =back +=head1 EXAMPLES + +Run a virtual machine stored in the image B<rootfs.ext4> (the default) with +local port 8022 routed to port 22 of the virtual machine. The B<-snapshot> +argument is passed to QEMU and prevents any permanent changes to +B<rootfs.ext4>, resulting in an ephemeral run. + + debvm-run -s 8022 -i rootfs.ext4 -- -snapshot + =head1 LIMITATIONS Due to the way kernel and bootloader are being extracted before running B<qemu>, one cannot upgrade a kernel and then just reboot. |