#!/bin/sh set -eux NAME=cockpit toolbox rm --force $NAME || true yes | toolbox create --image quay.io/cockpit/tasks -c $NAME # install some extra development and desktop tools toolbox run -c "$NAME" sh -exc ' # useful hostname echo "cockpit-toolbox" | sudo tee /etc/hostname sudo hostname -F /etc/hostname # enable manpages sudo sed -i s/nodocs// /etc/dnf/dnf.conf sudo dnf install -y ansible man-pages moreutils \ python3-boto python3-boto3 libnotify \ pandoc texlive-ec texlive-pdfjam \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ calibre qt5-qtwayland # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls type gh >/dev/null 2>&1 || sudo dnf install -y $(curl -s https://api.github.com/repos/cli/cli/releases/latest | grep -o https:.*_linux_amd64.rpm) '