kvm support removed, only native virtualization

This commit is contained in:
Paul Rock 2020-04-15 23:58:04 +03:00
parent 9272d17e9b
commit 311b642c77
3 changed files with 3 additions and 5 deletions

View file

@ -41,7 +41,6 @@ services:
- NET_ADMIN
devices:
- /dev/net/tun
- /dev/kvm
ports:
- "12222:22"
- "12223:23"
@ -55,7 +54,6 @@ services:
- NET_ADMIN
devices:
- /dev/net/tun
- /dev/kvm
ports:
- "22222:22"
- "22223:23"

View file

@ -9,7 +9,6 @@ services:
- NET_ADMIN
devices:
- /dev/net/tun
- /dev/kvm
ports:
- "12222:22"
- "12223:23"
@ -18,12 +17,13 @@ services:
routeros-6-45:
image: evilfreelancer/docker-routeros:6.46.5
build:
context: .
restart: unless-stopped
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
- /dev/kvm
ports:
- "22222:22"
- "22223:23"

View file

@ -50,7 +50,7 @@ udhcpd -I $DUMMY_DHCPD_IP -f $DHCPD_CONF_FILE &
# -nic: Use a TAP interface with our custom up/down scripts.
# -drive: The VM image we're booting.
exec qemu-system-x86_64 \
-enable-kvm -nographic -serial mon:stdio \
-nographic -serial mon:stdio \
-vnc 0.0.0.0:0 \
-m 256 \
-nic tap,id=qemu0,script=$QEMU_IFUP,downscript=$QEMU_IFDOWN \