Im provisioning using shell scripts at the moment, as I haven;t yet had time to look into Chef/Puppet (not that Im convinced they would help my problem)
As part of my provisioning, I want to pull a private git repository from my github account.
Clearly this needs an ssh key which is already authorised on github, so Im faced with either:
- Adding a new key manually to github each time I want to provision a new vm
- Have the vagrant vm copy the public key from the host machine, and use that to authenticate with github
Neither is ideal, although since these vm's will not be shared publicly, the latter sounds vaguely acceptable.
Just wondering if this is a common problem, and how other people have tackled it?
Thankyou