aboutsummaryrefslogtreecommitdiff
path: root/io.github.89luca89.distrobox/podman
diff options
context:
space:
mode:
authoraxtlos <axtlos@tar.black>2022-07-02 15:07:25 +0200
committeraxtlos <axtlos@tar.black>2022-07-02 15:07:25 +0200
commit89fe2dbb1b3bced5438016e2fb19ec9390c7b2d4 (patch)
treea79b9ae8e3ab2e7420e60fec672d4f0a1030ba34 /io.github.89luca89.distrobox/podman
parent3444eb9046724c70b6f88ce5f78c888aa35f1349 (diff)
downloadflatpaks-89fe2dbb1b3bced5438016e2fb19ec9390c7b2d4.tar.gz
flatpaks-89fe2dbb1b3bced5438016e2fb19ec9390c7b2d4.tar.bz2
Add distrobox
Diffstat (limited to 'io.github.89luca89.distrobox/podman')
-rw-r--r--io.github.89luca89.distrobox/podman8
1 files changed, 8 insertions, 0 deletions
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