Skip to content

Commit f3e8985

Browse files
authored
feat: add serial support
1 parent 1f79f2e commit f3e8985

File tree

23 files changed

+186
-1
lines changed

23 files changed

+186
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ RUN apk add qemu-system-x86_64 qemu-img iproute2 cdrkit
2828

2929
COPY --link --from=binary /devmachines-runtime /devmachines-runtime
3030

31+
COPY ./static/ /static/
32+
3133
CMD ["/devmachines-runtime"]

compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ services:
1313
PORTS: "2222:22"
1414
volumes:
1515
- ./disks:/disks
16+
- ./socks:/socks
1617
- type: image
1718
source: devmachines/ubuntu:noble
1819
target: /image
@@ -24,6 +25,7 @@ services:
2425
- "/dev/kvm"
2526
ports:
2627
- "2222:2222"
28+
- "8080:8080"
2729
stop_grace_period: 60s
2830

2931
novnc:

docs/cloudinit.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,13 @@ To unmount `cloudinit.iso`:
8585
```sh
8686
sudo umount /mnt/iso
8787
```
88+
89+
## cdrkit
90+
91+
Currently, the `cloudinit.iso` file is generated using `genisoimage` from the `cdrkit` package. However, in future releases, this method will be deprecated and replaced with **QEMU-native image generation**.
92+
93+
The following arguments can be used to attach a **qcow2 image as a CD drive**:
94+
```sh
95+
-drive file=/dev/pve/vm-107-cloudinit,if=none,id=drive-ide2,media=cdrom,aio=io_uring \
96+
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2
97+
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)