From f243bc2e3bfb335dffeceb9344b91ced7d2e04fd Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 13 May 2013 14:06:40 +0000 Subject: [PATCH] deployment.sh: make sure `hostname` and `hostname --fqdn` return data from chroot Testing... From: Michael Prokop --- deployment.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment.sh b/deployment.sh index 8331b35..ef1888e 100755 --- a/deployment.sh +++ b/deployment.sh @@ -942,6 +942,9 @@ ff02::1 ip6-allnodes ff02::2 ip6-allrouters EOF +# make sure `hostname` and `hostname --fqdn` return data from chroot +grml-chroot $TARGET /etc/init.d/hostname.sh + # needed for carrier if "$RETRIEVE_MGMT_CONFIG" ; then echo "Retrieving /etc/hosts configuration from management server"