diff options
Diffstat (limited to 'ansible/build_yardstick_image.yml')
-rw-r--r-- | ansible/build_yardstick_image.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ansible/build_yardstick_image.yml b/ansible/build_yardstick_image.yml index 347e9bce0..35d9da45e 100644 --- a/ansible/build_yardstick_image.yml +++ b/ansible/build_yardstick_image.yml @@ -144,7 +144,7 @@ command: "e2fsck -y -f {{ image_first_partition_device }}" - name: make tmp disposable fstab - command: mktemp fake_fstab.XXXXXXXXXX + command: mktemp --tmpdir fake_fstab.XXXXXXXXXX register: mktemp_res - set_fact: @@ -156,6 +156,9 @@ name: "{{ mountdir }}" # fstype is required fstype: "{{ image_fs_type }}" + # !!!!!!! this is required otherwise we add entries to /etc/fstab + # and prevent the system from booting + fstab: "{{ fake_fstab }}" state: mounted - name: mount chroot /proc @@ -163,6 +166,9 @@ src: none name: "{{ mountdir }}/proc" fstype: proc + # !!!!!!! this is required otherwise we add entries to /etc/fstab + # and prevent the system from booting + fstab: "{{ fake_fstab }}" state: mounted - name: if arm copy qemu-aarch64-static into chroot |