#!/bin/bash set -e fcopy -S -M /etc/hosts echo $HOSTNAME > $target/etc/hostname