fix: restore RPi4 SD boot after imaging
This commit is contained in:
parent
1b61567f9a
commit
70c38215f4
|
|
@ -79,6 +79,7 @@ sudo mkdir -p "$root/etc/sudoers.d"
|
|||
printf 'jv ALL=(ALL) NOPASSWD:ALL\n' | sudo tee "$root/etc/sudoers.d/90-homelab-jv" >/dev/null
|
||||
sudo chmod 0440 "$root/etc/sudoers.d/90-homelab-jv"
|
||||
REMOTE
|
||||
ssh -i "${rpi_key}" -o BatchMode=yes "${rpi_user}@${rpi_host}" 'sudo raspi-config nonint do_boot_order B3 || true'
|
||||
echo "RPi4 image installed and headless configuration injected. Rebooting..."
|
||||
ssh -i "${rpi_key}" -o BatchMode=yes "${rpi_user}@${rpi_host}" 'sudo reboot' || true
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue