Hello,
Couple of options.
1. you can tell vagrant to not change the known insecure key.
config.ssh.insert_key = false
and then on each box, just copy the private key, so they will identify
as the vagrant, and should work.
2. Use a post script at the end to that, since at that stage the keys
will have been setup.
Just not usre if will be the same private key for all the boxes, so
you need to make
- each box copy the private
- every box to add the public of the rest and authorized_keys
be sure to set correct permissions at the end
chown -R vagrant: /home/vagrant/.ssh
chmod -R 0600 /home/vagrant/.ssh
chmod 0700 /home/vagrant/.ssh
Hope this helps
Alvaro
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
>
https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues:
https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/vagrant-up/689d3fad-577f-49ee-9b17-5c7bf253e717%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.