Skip to content

Commit

Permalink
Write hostname to installed system (fix for bedb409)
Browse files Browse the repository at this point in the history
Fixes #54 @ github
Thanks: Sebastian Pipping <sebastian@pipping.org> for catching this issue
  • Loading branch information
mika committed Jun 4, 2015
1 parent 598b19a commit 2a43ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-debootstrap
Expand Up @@ -1427,7 +1427,7 @@ iface eth0 inet dhcp
# execute all scripts in /etc/debootstrap/pre-scripts/ {{{
execute_pre_scripts() {
# make sure hostname is set even before chroot-script get executed
echo "$HOSTNAME" > /etc/hostname
echo "$HOSTNAME" > "$MNTPOINT"/etc/hostname

# make sure we have $MNTPOINT available for our scripts
export MNTPOINT
Expand Down

0 comments on commit 2a43ef7

Please sign in to comment.