summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
598b19a)
Fixes #54 @ github
Thanks: Sebastian Pipping <sebastian@pipping.org> for catching this issue
# execute all scripts in /etc/debootstrap/pre-scripts/ {{{
execute_pre_scripts() {
# make sure hostname is set even before chroot-script get executed
# 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
# make sure we have $MNTPOINT available for our scripts
export MNTPOINT