Do not attempt install kernel when chrooted
When building images from a container/chroot, do not attempt to install kernels. Use the shared via the common defaults chrooted param to control that behavior. Depends-On: I8cc198bd1081e0c1864228dad6228daa92ac32b7 Related-Bug: #1676373 Change-Id: Ie880a33fbb758240638178c45c43156e80bf4d24 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
f13fe3e774
commit
d991c1033f
@ -42,6 +42,7 @@
|
||||
name: "kernel-{{ libguestfs_kernel_override }}"
|
||||
state: present
|
||||
become: true
|
||||
when: not chrooted|bool
|
||||
|
||||
- name: Run virt-customize on the provided image
|
||||
shell: >
|
||||
|
Loading…
Reference in New Issue
Block a user