[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 python3_install
fi fi
# Verificar distribución y ejecutar la función correspondiente para instalar Ansible # Check for container management installed
#if [ -f /etc/debian_version ] || [ -f /etc/os-release ]; then container_mode
# install_ansible_debian if [ $? -eq 255 ]
#elif [ -f /etc/redhat-release ]; then then
# install_ansible_redhat # Install podman
#elif [ "$(uname)" == "Darwin" ]; then podman_install
# install_ansible_macos elif [ $? -eq 1 ]
#elif [ -f /etc/arch-release ]; then then
# install_ansible_arch echo "$domsg_005"
#elif [ -f /etc/rc.conf ]; then fi
# install_ansible_bsd
#else
# echo "${pymsg_014}"
# exit 1
#fi
} }
# Load messages # Load messages