From ae5d5a16f17551b3f9daed15eb38bdc7e14ca5c9 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Mon, 18 Jan 2021 09:47:11 -0500 Subject: [PATCH] install cockpit-podman if available --- scripts/subinstallers/cockpit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/subinstallers/cockpit.sh b/scripts/subinstallers/cockpit.sh index 3df815a..6d27958 100755 --- a/scripts/subinstallers/cockpit.sh +++ b/scripts/subinstallers/cockpit.sh @@ -19,6 +19,8 @@ sudo -E apt-get install -y cockpit if [ $(sudo apt-cache show cockpit-docker > /dev/null 2>&1) ]; then # no longer supported upstream in Ubuntu 20.04 sudo -E apt-get install -y cockpit-docker +elif [ $(sudo apt-cache show cockpit-podman > /dev/null 2>&1) ]; then + sudo -E apt-get install -y cockpit-podman fi sudo cp ./scripts/conf/cockpit.conf /etc/cockpit/cockpit.conf