From 5edc45d521e2b5d6277e239a41e3e3b704b00896 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 1 May 2024 00:03:01 +0200 Subject: [PATCH] Update readme.md --- readme.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 0ad116a..260225d 100644 --- a/readme.md +++ b/readme.md @@ -172,15 +172,12 @@ docker run -it --rm --name qemu -e "BOOT=http://example.com/image.iso" -p 8006:8 It is possible to pass-through disk devices directly by adding them to your compose file in this way: ```yaml - environment: - DEVICE: "/dev/sda" - DEVICE2: "/dev/sdb" devices: - - /dev/sda - - /dev/sdb + - /dev/sda:/dev/disk1 + - /dev/sdb:/dev/disk2 ``` - Use `DEVICE` if you want it to become your main drive, and use `DEVICE2` and higher to add them as secondary drives. + Use `/dev/disk1` if you want it to become your main drive, and use `/dev/disk2` and higher to add them as secondary drives. * ### How do I pass-through a USB device?