An open API service indexing awesome lists of open source software.

https://github.com/adammck/headless-raspbian

Create a Raspbian image with wifi and SSH
https://github.com/adammck/headless-raspbian

raspberry-pi raspbian

Last synced: about 1 year ago
JSON representation

Create a Raspbian image with wifi and SSH

Awesome Lists containing this project

README

          

# Headless Raspbian

This is a tool to create headless Raspbian images by downloading and patching
the official ones. The only differences are:

* Hostname is set
* Wifi is set up
* SSH is enabled
* SSH pubkeys are configured (via GitHub)
* Password authentication is disabled

This is just enough to get the thing booted up and ready to provision over SSH
with Ansible or whatever. I know that I should be building proper images with
pi-gen, but this seems simpler to keep up to date.

This is only tested on my Mac, but it might work wherever Vagrant does.

## Usage

git clone https://github.com/adammck/headless-raspbian.git
cd headless-raspbian
cp vars.sh.example vars.sh
vi vars.sh
bin/run

Once the image is built, one can flash it to a micro SD card using a tool like
[Etcher](https://etcher.balena.io).

## License

MIT.