#!/bin/bash -e install -m 644 files/ipv6.conf ${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf install -m 644 files/interfaces ${ROOTFS_DIR}/etc/network/interfaces cat < ${ROOTFS_DIR}/etc/hostname ${HOST_NAME} EOF # Append hostname cat <> ${ROOTFS_DIR}/etc/hosts 127.0.1.1 ${HOST_NAME} EOF on_chroot sh -e - <