openqa: run createhdds.py with py2 for now

and install the additional deps.
This commit is contained in:
Adam Williamson 2015-12-18 19:47:18 -08:00
parent ee8ab4e662
commit 3bd08a441f

View file

@ -59,6 +59,8 @@
- expect - expect
- libguestfs-tools-c - libguestfs-tools-c
- libguestfs-xfs - libguestfs-xfs
- python-pexpect
- python-libguestfs
tags: tags:
- packages - packages
@ -84,7 +86,7 @@
- /var/lib/openqa/share/factory/repo - /var/lib/openqa/share/factory/repo
- name: Check if any hard disk images need (re)building - name: Check if any hard disk images need (re)building
command: "/root/openqa_fedora_tools/tools/createhdds.py check" command: "python /root/openqa_fedora_tools/tools/createhdds.py check"
args: args:
chdir: /var/lib/openqa/share/factory/hdd/ chdir: /var/lib/openqa/share/factory/hdd/
register: diskcheck register: diskcheck
@ -92,7 +94,7 @@
always_run: true always_run: true
- name: Create hard disk images (this may take a long time!) - name: Create hard disk images (this may take a long time!)
command: "/root/openqa_fedora_tools/tools/createhdds.py all --clean" command: "python /root/openqa_fedora_tools/tools/createhdds.py all --clean"
args: args:
chdir: /var/lib/openqa/share/factory/hdd/ chdir: /var/lib/openqa/share/factory/hdd/
environment: environment: