X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=build-debian-toolbox;h=82868761747be77a1cbcd88b91e5523d48b869b3;hb=b88159fdb3ba264d5a096e8b99a41f968586bfcb;hp=f1e7f8eab90f07c5c31f3ad3307d54c9b6873442;hpb=739e7017ea68bf529515666feab89ae02e7c983e;p=bin.git diff --git a/build-debian-toolbox b/build-debian-toolbox index f1e7f8e..8286876 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -27,6 +27,9 @@ apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin # allow sudo with empty password sed -i "s/nullok_secure/nullok/" /etc/pam.d/common-auth + +# unbreak slow host name resolution +sed -i "/^hosts:/ s/files dns myhostname/files myhostname dns/" /etc/nsswitch.conf ' toolbox run --container $RELEASE sh -exc '