Creates keys in /home/vagrant/.ssh/
from a data bag.
You are running on a POSIX machine. no windoze.
keys/databag
: string containing name of data bag containing the keyskeys/key_name
: name of the keypair to be copied
keys
: copies keys into/home/chef/.ssh/
"ssh_keys": {
"user":"vagrant",
"group":"vagrant"
"path":"/home/vagrant/.ssh/"
"machine_1": {
"id_rsa": "private key goes here",
"id_rsa.pub": "public key goes here"
}
}
- Written by Carlo Zottmann
- minor updates by Bill Cromie
- Liability in case of anything: definitely not me.
- License: WTFPL.