This project contains Overcast scripts to automatically configure your Raspberry Pis remotely, including:
authorized_keys
pi
user accountNote that each of these tools is optional and controlled by a flag (see config/pi.template).
Also note that 99.999% of the recipe is not Pi-specific, and as such it can be used to configure any Debian GNU/Linux-based distribution. We've used it to configure a Debian guest running under VirtualBox on OSX.
$ npm install --global overcast
$ overcast instance import my-pi 1.2.3.4 --user pi
$ cp config/pi.template config/my-pi
$ vi config/my-pi
$ ./recipes/mkpi my-pi config/my-pi --password raspberry