Skip to content

Instantly share code, notes, and snippets.

Berni tonnenpinguin

Block or report user

Report or block tonnenpinguin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tonnenpinguin
tonnenpinguin / prepare_node.sh
Last active Mar 15, 2017
Initial setup to get chef-client running on raspbian
View prepare_node.sh
#!/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
You can’t perform that action at this time.