Browse Source

added ssh connection

master
Dan 2 months ago
parent
commit
f282391cbc
Signed by: dan GPG Key ID: 7DFC51AC7A70FBAB
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      airootfs/root/pwoss-desktop.sh

+ 17
- 0
airootfs/root/pwoss-desktop.sh View File

@ -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="NO" # 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)
@ -622,6 +625,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
mkdir /mnt/home/$USERNAME/Desktop/


Loading…
Cancel
Save