From fcc6be9ec9d98321c7c987d9d8277c149f2bc1f4 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 7 Jan 2023 21:38:35 +0100 Subject: use more perlpod formatting codes --- debvm-run | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'debvm-run') diff --git a/debvm-run b/debvm-run index eda3477..c2a3f21 100755 --- a/debvm-run +++ b/debvm-run @@ -9,14 +9,14 @@ debvm-run - Run a VM image created by debvm-create =head1 SYNOPSIS -B [B<-g>] [B<-i> I] [B<-s> I] [B<--> I] +B [B<-g>] [B<-i> F] [B<-s> I] [B<--> I] =head1 DESCRIPTION B is essentially a thin wrapper around B for running a virtual machine image created by B or something compatible. The virtual machine image is expected to be a raw ext4 image with file system label B. -The architecture of the machine is detected from the contained B. -It must contain a symbolic link pointing to a kernel image at B or B depending on the architecture and a symbolic link pointing to an initrd image at B. +The architecture of the machine is detected from the contained F. +It must contain a symbolic link pointing to a kernel image at F or F depending on the architecture and a symbolic link pointing to an initrd image at F. Both are extracted and passed to B. A net interface configured for user mode is added automatically. @@ -29,10 +29,10 @@ A net interface configured for user mode is added automatically. By default, the option B<-nographic> is passed to B and one interacts with the serial console of the machine. This configuration is skipped in the presence of this option. -=item B<-i> I, B<--image>=I +=item B<-i> F, B<--image>=F This option specifies the location of the virtual machine image file. -By default B in the working directory is used. +By default F in the working directory is used. =item B<-s> I, B<--sshport>=I @@ -51,10 +51,10 @@ One possible use of this method is passing B<-snapshot> to avoid modifying the v =head1 EXAMPLES -Run a virtual machine stored in the image B (the default) with +Run a virtual machine stored in the image F (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, resulting in an ephemeral run. +F, resulting in an ephemeral run. debvm-run -s 8022 -i rootfs.ext4 -- -snapshot -- cgit v1.2.3