toolbox trips over the existing ubuntu home dir and its uid 1000.
podman pull docker.io/$DISTRO:$RELEASE
toolbox -y create -c $RELEASE --image docker.io/$DISTRO:$RELEASE
+# hack for ubuntu: need to remove existing home dir
+if [ "$DISTRO" = "ubuntu" ]; then
+ podman unshare sh -exc "H=\$(podman mount $RELEASE); rm -r \$H/home/ubuntu; sed -i '/^ubuntu/d' \$H/etc/passwd \$H/etc/shadow"
+fi
+
# can't do that with toolbox run yet, as we need to install sudo first
podman start $RELEASE
podman exec -it $RELEASE sh -exc '