#!/bin/bash SCRIPT_ROOT=`dirname "${0}"` #if [ -f "${SCRIPT_ROOT}/install_started" ];then # exit 1 #else # touch "${SCRIPT_ROOT}/install_started" #fi source ${SCRIPT_ROOT}/lib/functions prepare_install #collect_info #break into smaller functions, move luks out, validate inputs root_setup user_setup device_type_setup hostname_setup disk_setup format_partitions create_filesystem prepare_chroot finalize