Use setup-wifi instead of connect-to-network
This commit is contained in:
parent
a8afd793e0
commit
ceb6a9e294
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@
|
||||||
#
|
#
|
||||||
## Connect to network and update hostname
|
## Connect to network and update hostname
|
||||||
|
|
||||||
# Connect
|
# Add saved networks to NetworkManager
|
||||||
connect-to-network
|
sudo setup-wifi
|
||||||
sleep 2s
|
sudo systemctl restart NetworkManager
|
||||||
|
|
||||||
IP="$(ip a show scope global \
|
IP="$(ip a show scope global \
|
||||||
| grep inet \
|
| grep inet \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue