tests/vm: Fix build-centos docker-based tests run

`make vm-build-centos` run docker-based tests on CentOS. The
created containers should have network otherwise some tests
fail. Also fixed the BUILD_SCRIPT template to correctly
evaluate "V=1" for verbose output.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20190329210804.22121-5-wainersm@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
Wainer dos Santos Moschetta 2019-03-29 17:08:03 -04:00 committed by Alex Bennée
parent 3ad3e36e14
commit aea439138b

View File

@ -26,9 +26,9 @@ class CentosVM(basevm.BaseVM):
export SRC_ARCHIVE=/dev/vdb;
sudo chmod a+r $SRC_ARCHIVE;
tar -xf $SRC_ARCHIVE;
make docker-test-block@centos7 V={verbose} J={jobs};
make docker-test-quick@centos7 V={verbose} J={jobs};
make docker-test-mingw@fedora V={verbose} J={jobs};
make docker-test-block@centos7 {verbose} J={jobs} NETWORK=1;
make docker-test-quick@centos7 {verbose} J={jobs} NETWORK=1;
make docker-test-mingw@fedora {verbose} J={jobs} NETWORK=1;
"""
def _gen_cloud_init_iso(self):