Skip to content

Commit

Permalink
Allow passthrough of docker tcp port in kvm guest
Browse files Browse the repository at this point in the history
  • Loading branch information
brimstone committed Jul 15, 2018
1 parent 752149f commit 8addc3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,14 @@ output/pcd-${PCD_VERSION}.iso: kernel.lz
endif

kvm: pcd.qcow2
kvm -m 1024 \
kvm -m 2048 \
${KVMSERIAL} \
${KVMSOURCE} \
-usb \
-device usb-ehci \
-device usb-kbd \
-netdev user,id=net,hostfwd=tcp::2375-:2375 \
-device e1000,netdev=net \
pcd.qcow2 || true

pcd.qcow2:
Expand Down

0 comments on commit 8addc3e

Please sign in to comment.