Test install portion

This commit is contained in:
Thomas Cole 2021-06-30 08:50:34 -04:00
parent 791248abf0
commit 55fdbfa65a

View File

@ -9,7 +9,6 @@ CYAN="\e[36m"
ENDCOLOR="\e[0m" ENDCOLOR="\e[0m"
MACADDRS=( MACADDRS=(
40:6c:8f:b8:ba:xx
52:54:00:2a:41:b1 52:54:00:2a:41:b1
1c:69:7a:63:ad:12 1c:69:7a:63:ad:12
1c:69:7a:63:83:e1 1c:69:7a:63:83:e1
@ -36,7 +35,7 @@ prechecks () {
echoc "Running Pre-checks" $GREEN echoc "Running Pre-checks" $GREEN
#Check MAC whitelist #Check MAC whitelist
DMAC=$(cat /sys/class/net/enp10s0/address) DMAC=$(cat /sys/class/net/enp1s0/address)
if [[ " ${MACADDRS[@]} " =~ " $DMAC " ]]; then if [[ " ${MACADDRS[@]} " =~ " $DMAC " ]]; then
echoc " - Matching MAC Address found." $GREEN echoc " - Matching MAC Address found." $GREEN
@ -81,6 +80,10 @@ partition () {
} }
sysinstall () {
pacstrap /mnt
}
###################################################################################### ######################################################################################
#Check if root #Check if root