summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2015-02-22 12:05:55 +0000
committerHolger Levsen <holger@layer-acht.org>2015-02-22 15:02:35 +0100
commit59c757e0319fc03667b933d2d609dda0a0d19147 (patch)
tree9da9e513117589f7d6d5841335e7dff08f1fffe8 /etc
parent7c0852af9832860880e896e51de2f265e9fcf891 (diff)
downloadjenkins.debian.net-59c757e0319fc03667b933d2d609dda0a0d19147.tar.xz
Also change the domain
Diffstat (limited to 'etc')
-rwxr-xr-xetc/pbuilder/rebuild-hooks/D01_hostname3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/pbuilder/rebuild-hooks/D01_hostname b/etc/pbuilder/rebuild-hooks/D01_hostname
index 1bf4c2d2..57c785b3 100755
--- a/etc/pbuilder/rebuild-hooks/D01_hostname
+++ b/etc/pbuilder/rebuild-hooks/D01_hostname
@@ -6,5 +6,6 @@ set -e
[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0
echo "I: Changing hostname to test build reproducibility" >&2
-sed -e '/^127.0.0.1/s/$/ i-capture-the-hostname/' -i /etc/hosts
+sed -e '/^127.0.0.1/s/$/ i-capture-the-hostname i-capture-the-hostname.i-capture-the-domain/' -i /etc/hosts
hostname i-capture-the-hostname
+domainname i-capture-the-domain