From dbc4ce023165d563595cb62ccbf43dc6bc1f0ec9 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 19 Oct 2024 10:25:42 -0400 Subject: [PATCH] Update cockpit-install.sh use backports --- install/cockpit-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install/cockpit-install.sh b/install/cockpit-install.sh index a5dfbc20..ee7a4c59 100644 --- a/install/cockpit-install.sh +++ b/install/cockpit-install.sh @@ -22,7 +22,10 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" msg_info "Installing Cockpit" -$STD apt install -y cockpit --no-install-recommends +source /etc/os-release +echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" >/etc/apt/sources.list.d/backports.list +$STD apt-get update +$STD apt-get install -t ${VERSION_CODENAME}-backports cockpit -y sed -i "s/root//g" /etc/cockpit/disallowed-users msg_ok "Installed Cockpit"