mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 17:57:47 +02:00
Prompt for username and hostname
This commit is contained in:
parent
7873f9deeb
commit
521479bd1e
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
set -xe
|
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)
|
# Generate the fstab file (so the filesystem is mounted on boot)
|
||||||
genfstab -U /mnt > /mnt/etc/fstab
|
genfstab -U /mnt > /mnt/etc/fstab
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
|
|
||||||
set -xe
|
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
|
# Start and enable the DHCP client daemon service
|
||||||
systemctl start dhcpcd.service
|
systemctl start dhcpcd.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user