-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeclare.sh
More file actions
40 lines (31 loc) · 1.34 KB
/
declare.sh
File metadata and controls
40 lines (31 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#! /bin/bash
echo '
-------------------------------------------------------------------------------
____ _ _ __ __
/ /\ \ ___ ___ | |___ | | _ ___ _ _ \ \ / /
/ /__\ \ | _| / __| | __ \ | | (_) / _ \ | | | | \ \/ /
/ ______ \ | | | |__ | | \ \ | |__ | | | | | | | |_| | / /\ \
/ / \ \ |_| \___| | | | | |____| |_| |_| |_| \___/ /_/ \_\
Arch Linux Install Setup and Config
-------------------------------------------------------------------------------
'
#Set Up System Name:
read -p "Enter Host Name [Default => ArchLinux]: " HOSTNAME
HOSTNAME=${HOSTNAME:-"ArchLinux"}
#Set Up UserName:
read -p "Enter User Name [Default => archuser]: " USERNAME
USERNAME=${USERNAME:-"archuser"}
#Set Up Password:-
read -p "Enter Host Name [Default => Arch1234]: " PASSWORD
PASSWORD=${PASSWORD:-"Arch1234"}
#Set Up Language:-
read -p "Enter Host Name [Default => en_IN UTF-8]: " LANGUAGE
LANGUAGE=${LANGUAGE:-"en_IN UTF-8"}
#Set Up Boot Type:-
read -p "Enter Boot Type UEFI/BIOS: " BOOT
BOOT=${BOOT:-"UEFI"}
printf "HOSTNAME="$HOSTNAME"\n" >> "install.conf"
printf "USERNAME="$USERNAME"\n" >> "install.conf"
printf "PASSWORD="$PASSWORD"\n" >> "install.conf"
printf "LANGUAGE="$LANGUAGE"\n" >> "install.conf"
sleep 3