Create a gist now

Instantly share code, notes, and snippets.

file {"/etc/network/interfaces":
content => "auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp",
}
file {"/etc/wpa_supplicant/wpa_supplicant.conf":
content => "ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=\"Default\"
key_mgmt=NONE
auth_alg=OPEN}",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment