1
0
forked from extern/nix-config

Prompt for username and hostname

This commit is contained in:
Donovan Glover 2018-09-25 15:00:04 -04:00
parent 7873f9deeb
commit 521479bd1e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,8 @@
set -xe
$HOSTNAME = "arch"
echo -n "Enter a hostname for this machine: "
read HOSTNAME
# Generate the fstab file (so the filesystem is mounted on boot)
genfstab -U /mnt > /mnt/etc/fstab

View File

@ -7,7 +7,8 @@
set -xe
$USERNAME = "hello"
echo -n "Enter a username for the local account with administrative rights: "
read USERNAME
# Start and enable the DHCP client daemon service
systemctl start dhcpcd.service