diff --git a/builder-base/scripts/install_ansible.sh b/builder-base/scripts/install_ansible.sh index 2330a55f9..8b8e59a7b 100755 --- a/builder-base/scripts/install_ansible.sh +++ b/builder-base/scripts/install_ansible.sh @@ -50,6 +50,8 @@ function instal_ansible() { cp --preserve=links /usr/lib/libpython3* ${NEWROOT}/usr/lib fi + chmod 755 ${NEWROOT}/usr/lib/python3.9/site-packages + rm -rf /root/.cache } diff --git a/builder-base/scripts/install_final.sh b/builder-base/scripts/install_final.sh index d0eea2e75..49e539b37 100755 --- a/builder-base/scripts/install_final.sh +++ b/builder-base/scripts/install_final.sh @@ -35,6 +35,7 @@ yum install -y \ bzip2 \ cpio \ curl \ + diffutils \ docker \ gettext \ git-core \ diff --git a/builder-base/scripts/validate_components.sh b/builder-base/scripts/validate_components.sh index f17fcba94..01fa9b56e 100755 --- a/builder-base/scripts/validate_components.sh +++ b/builder-base/scripts/validate_components.sh @@ -47,6 +47,10 @@ if [ "${FINAL_STAGE_BASE}" = "full-copy-stage" ]; then pip3 --version packer --version ansible --version + su - imagebuilder -c "ansible --version" + su - imagebuilder -c "ansible-galaxy collection list" + su - imagebuilder -c "packer --version" + su - imagebuilder -c "packer plugins installed" node --version