builders: some ARMv7 bits need shell, not command
This commit is contained in:
parent
5bda47cc10
commit
b18c9881b6
1 changed files with 2 additions and 2 deletions
|
@ -28,12 +28,12 @@
|
|||
when: inventory_hostname not in result.list_vms
|
||||
|
||||
- name: ARMv7 copy the kernel out
|
||||
command: "virt-builder --get-kernel {{ volgroup }}/{{ inventory_hostname }} --output /var/lib/libvirt/images/ | awk -F/ '{print $NF}' > /var/lib/libvirt/images/{{ inventory_hostname }}-details.txt"
|
||||
shell: "virt-builder --get-kernel {{ volgroup }}/{{ inventory_hostname }} --output /var/lib/libvirt/images/ | awk -F/ '{print $NF}' > /var/lib/libvirt/images/{{ inventory_hostname }}-details.txt"
|
||||
delegate_to: "{{ vmhost}}"
|
||||
when: inventory_hostname.startswith('buildvm-armv7')
|
||||
|
||||
- name: ARMv7 copy the cmdline out
|
||||
command: "virt-cat -a {{ volgroup }}/{{ inventory_hostname }} /boot/extlinux/extlinux.conf | grep -m1 append | sed -e 's/append //'"
|
||||
shell: "virt-cat -a {{ volgroup }}/{{ inventory_hostname }} /boot/extlinux/extlinux.conf | grep -m1 append | sed -e 's/append //'"
|
||||
delegate_to: "{{ vmhost}}"
|
||||
register: host_cmdline
|
||||
when: inventory_hostname.startswith('buildvm-armv7')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue