Add a configuration file for wireless networking
This commit is contained in:
parent
5fd8083493
commit
7de811f115
|
@ -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/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 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 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/"
|
install -m 644 -o root -g root rootfs/etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/"
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue