Whatever we do, there is one in proposed for a while already which blocks on autopkgtest of 389-ds-base.
That needs to be resolved anyway.
It makes way too much assumptions of the network:
3 # hack for lxc
4 IP=`ip route get 1.1.1.1 | sed -n -e's/.*src //; s/ .*//; p; q'`
5 HOSTNAME=`cat /etc/hosts| grep '127.0.1.1' | awk '{print $NF; exit}'`
6
7 echo "$IP $HOSTNAME.debci $HOSTNAME" >> /etc/hosts
For now we need to mark this as a bad-test to be able to fix nss and get something migrating.
Whatever we do, there is one in proposed for a while already which blocks on autopkgtest of 389-ds-base.
That needs to be resolved anyway.
It makes way too much assumptions of the network:
3 # hack for lxc
4 IP=`ip route get 1.1.1.1 | sed -n -e's/.*src //; s/ .*//; p; q'`
5 HOSTNAME=`cat /etc/hosts| grep '127.0.1.1' | awk '{print $NF; exit}'`
6
7 echo "$IP $HOSTNAME.debci $HOSTNAME" >> /etc/hosts
For now we need to mark this as a bad-test to be able to fix nss and get something migrating.