X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;fp=build-debian-toolbox;h=82868761747be77a1cbcd88b91e5523d48b869b3;hp=f1e7f8eab90f07c5c31f3ad3307d54c9b6873442;hb=a43b50452d80da21f1989701121d5bbbd66b28a5;hpb=739e7017ea68bf529515666feab89ae02e7c983e 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 '