[why] run-ipconfig.cgz is necessary for user locally deploy compass-ci, when they want to run a qemu, so allow /srv/initrd/deps for download.
See [PATCH v5 compass-ci] sbin/download-rootfs: download osimage { ... wget_download "http://api.compass-ci.openeuler.org:$%7BSRV_HTTP_INITRD_PORT%7D/initrd/deps/..." ... }
Signed-off-by: Liu Yinsi liuyinsi@163.com --- container/srv-http/start-initrd | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/srv-http/start-initrd b/container/srv-http/start-initrd index 457465b..41958da 100755 --- a/container/srv-http/start-initrd +++ b/container/srv-http/start-initrd @@ -15,6 +15,7 @@ cmd=( -v /srv/initrd/dockerimage:/srv/initrd/dockerimage:ro -v /srv/initrd/rpmbuild-pkg:/srv/initrd/rpmbuild-pkg:ro -v /srv/initrd/osimage:/srv/initrd/osimage:ro + -v /srv/initrd/deps:/srv/initrd/deps:ro -v /etc/localtime:/etc/localtime:ro -d srv-http