MNAIO: Fix libguestfs appliance bug workaround task
Currently the contents of zz-dash-packages is as follows: dash rm -rf /var/tmp/.guestfs It should be: dash This fixes that. Also, the guestfs location that needs removing has a uuid appended, so we add a wildcard to the removal. Change-Id: If53f55c901f5abf19bdfff0c0f17c2f9ed69d915
This commit is contained in:
parent
d69c74740d
commit
b48b97b115
@ -91,9 +91,9 @@
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1591617
|
||||
# https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1615337
|
||||
- name: Apply workaround for older versions to make guestfish work
|
||||
shell: >-
|
||||
shell: |
|
||||
echo dash > /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/zz-dash-packages
|
||||
rm -rf /var/tmp/.guestfs
|
||||
rm -rf /var/tmp/.guestfs*
|
||||
when:
|
||||
- "{{ (_libguestfs_version.stdout is version('1.38.1', '<')) or
|
||||
((_libguestfs_version.stdout is version('1.39.0', '>=')) and
|
||||
|
Loading…
x
Reference in New Issue
Block a user