Skip to content

Commit e2c5cc9

Browse files
committed
Fix for WiFi not starting up automatically
1 parent 1ea7518 commit e2c5cc9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

roles/networking/tasks/main.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,16 @@
5757
- 04-eth0.network
5858
- 12-wlan0.network
5959

60+
- name: Create symlink for wlan0 WiFi configuration
61+
file:
62+
src: /etc/wpa_supplicant/wpa_supplicant.conf
63+
dest: /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
64+
state: link
65+
force: true
66+
become: true
67+
68+
- name: Enable the new WiFi supplicant
69+
systemd:
70+
71+
enabled: true
72+
become: true

0 commit comments

Comments
 (0)