File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ cp ~/.tmux.* $PI || true
19
19
mkdir -p $PI /.ssh
20
20
chmod 700 $PI /.ssh
21
21
cp ~ /.ssh/tve-2022.pub $PI /.ssh/authorized_keys
22
- sudo sed -i -e ' /^%sudo/s/( ALL)?$/ NOPASSWD: ALL/' $MNT /rootfs/etc/sudoers
22
+ sudo sed -i -e ' /^%sudo/s/ALL$/ NOPASSWD: ALL/' $MNT /rootfs/etc/sudoers
23
23
24
24
sync
Original file line number Diff line number Diff line change @@ -86,5 +86,9 @@ RUN rm /etc/rc3.d/S01resize2fs_once
86
86
# Change the avahi/bonjour/mDNS hostname to sgpi.local and enable advertising
87
87
RUN bash -c 'sed -ir -e "/host-name/s/.*/host-name=sgpi/" -e "/publish-workstation/s/no/yes/" /etc/avahi/avahi-daemon.conf'
88
88
89
+ # Ensure wifi comes up unblocked
90
+ RUN rfkill unblock wlan
91
+ RUN rfkill unblock wifi
92
+
89
93
# Timestamp the Sensorgnome image so we can detect and unset clock
90
94
RUN bash -c 'date +%s >/etc/sensorgnome/image-stamp'
You can’t perform that action at this time.
0 commit comments