This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
: <<'END' # Block comment | |
Use this script to prepare a clean raspbian image to run chef-client | |
Do not forget to add an empty file named "ssh" on the "boot" partition of your raspbian image to enable the ssh daemon. | |
If you did not run ssh-keygen before on your host machine, please do so before running this script. | |
This script sets up the debian testing packages as ruby 2.3 is currently not available in jessy. It also adds a pinning entry so packages available in jessy are preferred. | |
Afterwards it installs the chef gem and we are ready to bootstrap our new node :) | |
END |