Skip to content

Commit

Permalink
disable wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Jan 21, 2025
1 parent 978b4f5 commit b5ffbe8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cloud-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ users:
passwd: @PASSWORD@
groups: [ "admin" ]

stages:
boot:
- name: Enable wireless
commands:
- connmanctl enable wifi
- wpa_passphrase '@WIFISSID@' '@WIFIPASSWORD@' > /etc/wpa_supplicant/wpa_supplicant.conf
- wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
- udhcpc -i wlan0 &
#stages:
# boot:
# - name: Enable wireless
# commands:
# - connmanctl enable wifi
# - wpa_passphrase '@WIFISSID@' '@WIFIPASSWORD@' > /etc/wpa_supplicant/wpa_supplicant.conf
# - wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
# - udhcpc -i wlan0 &

write_files:
- path: /etc/rancher/k3s/registries.yaml
Expand Down

0 comments on commit b5ffbe8

Please sign in to comment.