boot: qemu: allow host bridge network in docker
To allow qemu devices both inside and outside to operate mosty identically, especially with respect to netdevice configuration, the docker network environment should match the host network environment. To achieve that tell docker to set the network to host and add the NET_ADMIN capability. On top of that to support the qemu bridge netdevices add the tun device from the host. Fixes: #548 Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Status | Name | Job ID | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Test | |||||||||
passed | dispatcher-debian-10 |
#156081
amd64
|
00:02:40
|
|
|||||
passed | dispatcher-debian-11 |
#156083
amd64
|
00:02:39
|
|
|||||
passed | server-debian-10 |
#156082
amd64
|
00:02:55
|
|
|||||
passed | server-debian-11 |
#156084
amd64
|
00:05:06
|
|
|||||
Analyze | |||||||||
passed | bandit-sast |
#156085
amd64-dind
|
00:01:00
|
|
|||||
passed | black |
#156088
amd64
|
00:00:51
|
|
|||||
passed | code_quality |
#156089
amd64
|
00:00:27
|
|
|||||
passed | codespell |
#156094
amd64
|
00:00:36
|
|
|||||
passed | coverage |
#156090
amd64
|
00:06:49
|
60.99% | |||||
passed | dockerfiles |
#156091
amd64
|
00:00:29
|
|
|||||
passed | eslint-sast |
#156086
amd64-dind
|
00:00:30
|
|
|||||
passed | pylint |
#156093
amd64
|
00:02:54
|
|
|||||
passed | schemas |
#156092
amd64
|
00:00:49
|
|
|||||
passed | semgrep-sast |
#156087
amd64-dind
|
00:01:01
|
|
|||||
Build | |||||||||
passed | debian/10 |
#156096
amd64
|
00:01:37
|
||||||
passed | debian/11 |
#156097
amd64
|
00:01:39
|
||||||
passed | doc |
#156095
amd64
|
00:00:40
|
||||||
passed | docker-amd64-dispatcher |
#156098
amd64-dind
|
00:03:53
|
|
|||||
passed | docker-amd64-server |
#156099
amd64-dind
|
00:04:23
|
|
|||||