added basic network config
This commit is contained in:
parent
951021451f
commit
f16e0b6149
|
@ -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
|
||||||
|
}
|
||||||
|
|
2
setup.sh
2
setup.sh
|
@ -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?"
|
||||||
|
|
Loading…
Reference in New Issue