[IMPROVED] Instalar Podman - bootstrap.sh

- Se crea la funcioalidad para instalar podman en los sistemas operativos
soportados.
- Se verifica que podman no haya sido previamente instalado.
- Se verifica si docker está instalado, si está instalado no instalará podman.
This commit is contained in:
Mauro Rosero P. 2024-12-01 14:46:20 -05:00
parent 7624035655
commit a4190914b6
Signed by: mrosero
GPG key ID: 83BD2A5F674B7E26

View file

@ -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