From 6b58a3e272daeb28a3edd2a7533d5323eb1a5465 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Mon, 20 Jan 2020 18:03:36 -0500 Subject: [PATCH] Fix old style for configuring wpa_psk --- docs/cookbook.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/cookbook.md b/docs/cookbook.md index d49e7060..f469f0d8 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -113,13 +113,16 @@ keys. %{ type: VintageNetWiFi, vintage_net_wifi: %{ - key_mgmt: :wpa_psk, - ssid: "my_network_ssid", - psk: "secret_password", + networks: [ + %{ + key_mgmt: :wpa_psk, + ssid: "my_network_ssid" + psk: "a_passphrase_or_psk", + } + ] }, - ipv4: %{ - method: :dhcp - } + ipv4: %{method: :dhcp}, +} } ```