summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xbin/debvm-run2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6f042d7..870e26d 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ contains the root filesystem of a (Debian) installation including an init
system and a kernel. There is no partition table or bootloader. The following
paths are assumed inside:
* `/bin/true` is used to detect the architecture of an image
- * `/vmlinuz` or `/vmlinux` (depending on the architecture) must be a symbolic
+ * `(|/boot)/vmlinu[xz]` (depending on the architecture) must be a symbolic
link pointing to a regular file containing the kernel.
* `/initrd.img` must be a symbolic link pointing to a regular file containing
the initrd image.
diff --git a/bin/debvm-run b/bin/debvm-run
index 5740a02..65eb65c 100755
--- a/bin/debvm-run
+++ b/bin/debvm-run
@@ -16,7 +16,7 @@ B<debvm-run> [B<-g>] [B<-i> F<image>] [B<-s> I<sshport>] [B<--> I<qemu options>]
B<debvm-run> is essentially a thin wrapper around B<qemu> for running a virtual machine image created by B<debvm-create> or something compatible.
The virtual machine image is expected to be a raw ext4 image with file system label B<debvm>.
The architecture of the machine is detected from the contained F</bin/true>.
-It must contain a symbolic link pointing to a kernel image at F</vmlinuz> or F</vmlinux> depending on the architecture and a symbolic link pointing to an initrd image at F</initrd.img>.
+It must contain a symbolic link pointing to a kernel image at F<(|/boot)/vmlinu[xz]> depending on the architecture and a symbolic link pointing to an initrd image at F</initrd.img>.
Both are extracted and passed to B<qemu>.
A net interface configured for user mode is added automatically.