added basic network config

This commit is contained in:
sose 2020-06-14 23:41:44 +00:00
parent 951021451f
commit f16e0b6149
2 changed files with 8 additions and 0 deletions

View File

@ -37,3 +37,9 @@ configure_user() {
# chsh -s "/usr/bin/sshshell $tilde_username" # chsh -s "/usr/bin/sshshell $tilde_username"
} }
configure_network() {
echo "Press ENTER to configure network"
read dummy_var
nmtui
}

View File

@ -14,7 +14,9 @@ export key_file=""
key_file="$(find /tilde/key | tail -n1)" key_file="$(find /tilde/key | tail -n1)"
choice="" choice=""
clear
echo "=== Welcome to Tildelinux! ===" echo "=== Welcome to Tildelinux! ==="
configure_network || fail
echo "What tilde would you like to connect to? (use the domain name as you would for ssh)" echo "What tilde would you like to connect to? (use the domain name as you would for ssh)"
read tilde_name read tilde_name
echo "What is your username for $tilde_name?" echo "What is your username for $tilde_name?"