Skip to content

Commit

Permalink
fix nm
Browse files Browse the repository at this point in the history
  • Loading branch information
tve committed Dec 8, 2024
1 parent 36d6172 commit 24877a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion base-armv7-rpi-bookworm.pifile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ RUN apt-get install -y \
usbtop \
rsyslog \
logrotate \
dhcpcd5
dhcpcd5 \
openresolv

RUN cp /usr/share/dhcpcd/hooks/10-wpa_supplicant /lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
4 changes: 2 additions & 2 deletions init-sdcard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PI=$MNT/rootfs/home/gnome
cp ~/.tmux.* $PI || true
mkdir -p $PI/.ssh
chmod 700 $PI/.ssh
cp ~/.ssh/2022-tve.pub $PI/.ssh/authorized_keys
sed -i -e '/^%sudo/s/$/ NOPASSWD: ALL/' /etc/sudoers
cp ~/.ssh/tve-2022.pub $PI/.ssh/authorized_keys
sudo sed -i -e '/^%sudo/s/$/ NOPASSWD: ALL/' $MNT/rootfs/etc/sudoers

sync

0 comments on commit 24877a4

Please sign in to comment.