X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;fp=build-cockpit-toolbox;h=aab0d3285eb053f07443d57401943e24cbe4e3ca;hp=4ddd582cd88ec406e30e75d29d207c0788e93b7e;hb=abd8714f8d6bea13e4039d3c40841226549e9c94;hpb=942a1c3ba1cdc1b2985265c1bd901982367fdbb7 diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 4ddd582..aab0d32 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -23,7 +23,9 @@ sudo dnf install -y ansible man-db man-pages moreutils fd-find ripgrep gh \ calibre qt5-qtwayland \ chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn -# run podman in toolbox -printf "flatpak-spawn --host podman \42\$@\42\n" | sudo tee /usr/local/bin/podman >/dev/null -sudo chmod a+x /usr/local/bin/podman +# commands to forward to the host +for cmd in podman toolbox nmcli eog evince; do + printf "flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null + sudo chmod a+x /usr/local/bin/$cmd +done '