Add a configuration file for wireless networking

This commit is contained in:
Gunnar Wolf 2020-08-15 00:15:43 -05:00
parent 5fd8083493
commit 7de811f115
2 changed files with 8 additions and 0 deletions

View File

@ -89,6 +89,7 @@ steps:
install -m 644 -o root -g root rootfs/etc/fstab "${ROOT?}/etc/fstab"
install -m 644 -o root -g root rootfs/etc/network/interfaces.d/eth0 "${ROOT?}/etc/network/interfaces.d/eth0"
install -m 600 -o root -g root rootfs/etc/network/interfaces.d/wlan0 "${ROOT?}/etc/network/interfaces.d/wlan0"
install -m 755 -o root -g root rootfs/usr/local/sbin/rpi-set-sysconf "${ROOT?}/usr/local/sbin/rpi-set-sysconf"
install -m 644 -o root -g root rootfs/etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/"

View File

@ -0,0 +1,7 @@
# To enable wireless networking, uncomment the following lines and naturally
# replace with your network's details.
#
# allow-hotplug wlan0
# iface wlan0 inet dhcp
# wpa-ssid my-network-ssid
# wpa-psk s3kr3t_P4ss