forked from extern/nix-config
Prompt for username and hostname
This commit is contained in:
parent
7873f9deeb
commit
521479bd1e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user