#!/bin/bash . config || exit 0 set -e set -x # Customize the outer ISO image perl -p -i -e \ "s/DISKNAME.*/DISKNAME NilmDBuntu $VERSION by Jim Paris/" \ ${ISO}/README.diskdefines # The .disk/info file is important -- it's used by ubiquity to extract # out the distro name in dialogs, and I think casper might use it too echo "NilmDBuntu $VERSION by Jim Paris" > ${ISO}/.disk/info # Include openssh server at install time. Can't include it in the # image, because then we'd share keys on all machines, I think. cp ${ISO}/preseed/xubuntu.seed ${ISO}/preseed/nilmdbuntu.seed cat >> ${ISO}/preseed/nilmdbuntu.seed <