1
0
forked from extern/nix-config
donovanglover-nix-config/.archlinux/install-scripts/install.sh
Donovan Glover 4b97b8df9d
archlinux: Handle reads through new install.sh
This not only fixes the issue where set -x would cause the read
line to be altered, but also separates user input from what the
install scripts actually do.
2018-12-02 01:12:09 -05:00

13 lines
247 B
Bash
Executable File

#!/bin/sh
set -e
echo -n "Enter a hostname for this machine: "
read HOSTNAME
echo -n "Enter a username for the local account with sudo rights: "
read USERNAME
env HOSTNAME="$HOSTNAME" ./003-configure
env USERNAME="$USERNAME" ./004-postinstall