|
|
@ -53,6 +53,9 @@ ENCRYPTION="YES" # Select "YES" OR "NO" whether you want encr |
|
|
|
## Timezone |
|
|
|
TIMEZONE="Pacific/Auckland" # Your timezone (Command='timedatectl list-timezones') |
|
|
|
|
|
|
|
## SSH |
|
|
|
SSH="YES" # Allow ssh connection after the installation. Port 22. |
|
|
|
|
|
|
|
## Microcode # More info at https://wiki.archlinux.org/index.php/Microcode |
|
|
|
#MICROCODE="amd-ucode" # AMD CPU (choose amd OR intel) |
|
|
|
#MICROCODE="intel-ucode" # Intel CPU (choose amd OR intel) |
|
|
@ -616,6 +619,20 @@ $PASSWORD # enter password |
|
|
|
$PASSWORD # retype password |
|
|
|
PASSWD_CMDS |
|
|
|
|
|
|
|
# SSH Access |
|
|
|
if [[ $SSH == "YES" ]] |
|
|
|
then |
|
|
|
cp /etc/ssh/sshd_config /mnt/etc/ssh/sshd_config |
|
|
|
|
|
|
|
elif [ $SSH == "NO" ] |
|
|
|
then |
|
|
|
: |
|
|
|
|
|
|
|
else |
|
|
|
echo "Unknown SSH access selected" |
|
|
|
exit |
|
|
|
fi |
|
|
|
|
|
|
|
# User configs |
|
|
|
## Copy PwOSS script to home for further installations |
|
|
|
cp -f home/user/pwoss-server-conf.sh /mnt/home/$USERNAME/ |
|
|
|