https://bugzilla.redhat.com/show_bug.cgi?id=
1785244 got fixed in toolbox
0.0.95.
# can't do that with toolbox run yet, as we need to install sudo first
podman start $RELEASE
podman exec -it $RELEASE sh -exc '
-# https://bugzilla.redhat.com/show_bug.cgi?id=1785244, https://github.com/containers/toolbox/pull/380
-if [ ! -e /etc/resolv.conf ]; then
- ln -sfn /run/host/monitor/resolv.conf /etc/resolv.conf
-fi
-
# go-faster apt/dpkg
echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io
# install cockpit's build deps and other development tools
toolbox run -c "$NAME" sh -exc '
-# https://bugzilla.redhat.com/show_bug.cgi?id=1785244
-if [ ! -e /etc/resolv.conf ]; then
- sudo ln -sfn /run/host/monitor/resolv.conf /etc/resolv.conf
-fi
-
# useful hostname
. /etc/os-release
echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname