docs: Readme (#185)

This commit is contained in:
Kroese 2025-03-01 14:16:07 +01:00 committed by GitHub
parent 65fd7c839c
commit 0188a8f8a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -126,10 +126,7 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
- /home/user/example.iso:/boot.iso
```
This way you can supply a `boot.iso`, `boot.img` or `boot.qcow2` file.
> [!NOTE]
> The URL of the `BOOT` variable will be ignored in this case.
This way you can supply a `boot.iso`, `boot.img` or `boot.qcow2` file. The value of the `BOOT` variable will be ignored in this case.
### How do I boot Windows?
@ -150,8 +147,7 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
DISK_TYPE: "blk"
```
> [!TIP]
> If it still fails to boot, you can set the value to `usb` to emulate a USB drive, which is slower but requires no drivers and is compatible with almost every system.
If it still fails to boot, you can set the value to `usb` to emulate a USB drive, which is slower but requires no drivers and is compatible with almost every system.
### How do I change the amount of CPU or RAM?
@ -231,7 +227,7 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
After configuring the container for [macvlan](#how-do-i-assign-an-individual-ip-address-to-the-container), it is possible for the VM to become part of your home network by requesting an IP from your router, just like a real PC.
To enable this mode, add the following lines to your compose file:
To enable this mode, in which the container and Windows will have separate IP addresses, add the following lines to your compose file:
```yaml
environment:
@ -242,9 +238,6 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
- 'c *:* rwm'
```
> [!NOTE]
> In this mode, the container and the VM will each have their own separate IPs.
### How do I add multiple disks?
To create additional disks, modify your compose file like this: