Merge "tasks: lxc_cache_create: Use threads when compressing base image"
This commit is contained in:
commit
85cdc3f80e
@ -30,7 +30,7 @@
|
||||
# suppress this warning with 'warn: no'.
|
||||
- name: Create lxc image
|
||||
shell: |
|
||||
tar -Opc -C {{ lxc_image_cache_path }} . | {{ lxc_xz_bin }} -{{ lxc_image_compression_ratio }} -c - > rootfs.tar.xz
|
||||
tar -Opc -C {{ lxc_image_cache_path }} . | {{ lxc_xz_bin }} -T 0 -{{ lxc_image_compression_ratio }} -c - > rootfs.tar.xz
|
||||
args:
|
||||
chdir: "{{ cache_path_fact }}/"
|
||||
warn: no
|
||||
|
Loading…
x
Reference in New Issue
Block a user