Unverified Commit 08a8caa7 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

docs: Local image boot instructions (#471)

parent 536e95d1
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -98,7 +98,14 @@ docker run -it --rm --name qemu -e "BOOT=http://example.com/image.iso" -p 8006:8

* ### How do I boot a local image?

  To skip the download, rename your image to `boot.iso` and place it in an empty `/storage` folder.
  You can use a local file directly, and skip the download, by binding it in your compose file in this way:
  
  ```yaml
  volumes:
    - /home/user/example.iso:/storage/boot.iso
  ```

  Replace the example path `/home/user/example.iso` with the filename of the desired ISO file.

* ### How do I boot with UEFI?

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ cd /run

trap - ERR

info "Booting image${BOOT_DESC} on ${CPU} using QEMU v${VERS} with kernel $(uname -r)..."
info "Booting image${BOOT_DESC} on a ${CPU} using QEMU v${VERS} with kernel $(uname -r)..."

[[ "$DEBUG" == [Yy1]* ]] && set -x
exec qemu-system-x86_64 ${ARGS:+ $ARGS}