aboutsummaryrefslogtreecommitdiff
path: root/io.github.89luca89.distrobox/podman
blob: 9e80f4226117b03ee6f3b261f0653b7f9a8541ed (plain) (blame)
1
2
3
4
5
6
7
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