diff --git a/bin/bootstrap.sh b/bin/bootstrap.sh index 91ffadb..8039df3 100755 --- a/bin/bootstrap.sh +++ b/bin/bootstrap.sh @@ -69,21 +69,17 @@ install() { python3_install fi - # Verificar distribuciĆ³n y ejecutar la funciĆ³n correspondiente para instalar Ansible - #if [ -f /etc/debian_version ] || [ -f /etc/os-release ]; then - # install_ansible_debian - #elif [ -f /etc/redhat-release ]; then - # install_ansible_redhat - #elif [ "$(uname)" == "Darwin" ]; then - # install_ansible_macos - #elif [ -f /etc/arch-release ]; then - # install_ansible_arch - #elif [ -f /etc/rc.conf ]; then - # install_ansible_bsd - #else - # echo "${pymsg_014}" - # exit 1 - #fi + # Check for container management installed + container_mode + if [ $? -eq 255 ] + then + # Install podman + podman_install + elif [ $? -eq 1 ] + then + echo "$domsg_005" + fi + } # Load messages