Skip to content

Commit 8addc3e

Browse files
committed
Allow passthrough of docker tcp port in kvm guest
1 parent 752149f commit 8addc3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,14 @@ output/pcd-${PCD_VERSION}.iso: kernel.lz
151151
endif
152152

153153
kvm: pcd.qcow2
154-
kvm -m 1024 \
154+
kvm -m 2048 \
155155
${KVMSERIAL} \
156156
${KVMSOURCE} \
157157
-usb \
158158
-device usb-ehci \
159159
-device usb-kbd \
160+
-netdev user,id=net,hostfwd=tcp::2375-:2375 \
161+
-device e1000,netdev=net \
160162
pcd.qcow2 || true
161163

162164
pcd.qcow2:

0 commit comments

Comments
 (0)