Skip to content

Instantly share code, notes, and snippets.

View micedwards's full-sized avatar

Michael Edwards micedwards

View GitHub Profile
@RichardBronosky
RichardBronosky / README.md
Last active December 1, 2023 08:19
Using cloud-init for cloudless provisioning of Raspberry Pi

Installing cloud-init on a fresh Raspbian Lite image

This is a work in Progress!

Purpose

This mainly demonstrates my goal of preparing a Raspberry Pi to be provisioned prior to its first boot. To do this I have chosen to use the same cloud-init that is the standard for provisioning servers at Amazon EC2, Microsoft Azure, OpenStack, etc.

I found this to be quite challenging because there is little information available for using cloud-init without a cloud. So, this project also servers as a demonstration for anyone on any version of Linux who may want to install from source, and/or use without a cloud. If you fall into that later group, you probably just want to read the code. It's bash so everything I do, you could also do at the command line. (Even the for loop.)

@alexellis
alexellis / INSTRUCTIONS.md
Last active June 21, 2018 15:16
A daemonset for the blinkt
  • Turn off RPis and install Blinkt if you haven't already. Rounded edges should point outwards.
  • Power back up
  • Install Kubernetes (hopefully you've already done this)
  • Download the gist to a temporary file i.e. gist.yml
  • kubectl apply -f gist.yml

Let me know what happens. If you see a red animation going backwards and forwards then everything's working right.

@alexellis
alexellis / k8s-pi.md
Last active April 11, 2024 14:17
K8s on Raspbian