Skip to content

adammck/headless-raspbian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

License

MIT.

About

Create a Raspbian image with wifi and SSH

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages