tests/vm/centos: fix centos build target

To be able to run the docker tests centos has here we have to install
python3 as well as the basic tools.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
Alex Bennée 2019-11-20 15:11:12 +00:00
parent 65e05c82bd
commit 6cd7b60848

View File

@ -73,7 +73,7 @@ class CentosVM(basevm.BaseVM):
self.wait_ssh()
self.ssh_root_check("touch /etc/cloud/cloud-init.disabled")
self.ssh_root_check("yum update -y")
self.ssh_root_check("yum install -y docker make git")
self.ssh_root_check("yum install -y docker make git python3")
self.ssh_root_check("systemctl enable docker")
self.ssh_root("poweroff")
self.wait()