Raspberry Pi quick installer using cloud-init

59 views
Skip to first unread message

Vince Skahan

unread,
Jan 21, 2026, 10:54:57 PM (13 days ago) Jan 21
to weewx-user
Recent RaspiOS support cloud-init for automating installations, so I took a pass at converting my bash scripts to this newer method.  Nice thing is you basically just need to drop a couple files into the downloaded .img, one to get it running on your network, the other to do the automated installation.

I cooked up a [github repo] that installs and configures the following:
  • WeeWX using the pip installation
  • nginx as the webserver
  • Belchertown as an added skin
  • rsyslog for traditional logging
  • logrotate to rotate logs
  • ntpsec for time sync because systemd's variant is awful
See the repo for procedures and very commented files you'll need.  Should be obvious re: how you can salt to taste for your needs.

Works pretty nicely for me.  Gotta love burn the SD, boot the pi, and walk away. Cool stuff.

Reply all
Reply to author
Forward
0 new messages