Navigation Menu

Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Nilsson committed Sep 27, 2019
1 parent ec690a8 commit fc3c2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/salt/base/state/network/wlan/client/config.sls
Expand Up @@ -3,7 +3,7 @@
ensure-default-wlan-networks-removed:
file.replace:
- name: /etc/salt/grains
- pattern: "^ - priority: [0-9]+\n psk: .+\n ssid: AutoPi QC.*\n"
- pattern: "^ - priority: [0-9]+\n psk: [^\n\r]+\n ssid: AutoPi QC[^\n\r]*\n"
- repl: ""

refresh-grains-after-ensure-default-wlan-networks-removed:
Expand Down

0 comments on commit fc3c2dd

Please sign in to comment.