From 89fe2dbb1b3bced5438016e2fb19ec9390c7b2d4 Mon Sep 17 00:00:00 2001 From: axtlos Date: Sat, 2 Jul 2022 15:07:25 +0200 Subject: Add distrobox --- io.github.89luca89.distrobox/podman | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 io.github.89luca89.distrobox/podman (limited to 'io.github.89luca89.distrobox/podman') diff --git a/io.github.89luca89.distrobox/podman b/io.github.89luca89.distrobox/podman new file mode 100644 index 0000000..9e80f42 --- /dev/null +++ b/io.github.89luca89.distrobox/podman @@ -0,0 +1,8 @@ +#!/usr/bin/bash + +set -x + +command="$@" +command=$(echo "${command}" | sed 's|podman||' | sed 's|--volume /run/host/monitor/host.conf:/etc/host.conf:ro||' | sed 's|--volume /run/host/monitor/hosts:/etc/hosts:ro||' | sed 's|--volume /run/host/monitor/resolv.conf:/etc/resolv.conf:ro||') + +flatpak-spawn --host podman $command -- cgit v1.2.3