--
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/34c76054-6862-4d71-a809-3516e48af924%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/6vnXcHc3mv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exOLLofK5CmbNTZTPSLPiuf29MX9ANdnFZ-qnyL7Z2R2Q%40mail.gmail.com.
Vagrant.configure(2) do |config|
config.vm.box = "sgjacob"
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
end
It works.
The reason is, in your provision script, seems you are missing to add the vagrant known public ssh key.
So you can add this to your template:
"mkdir ~vagrant/.ssh",
"chmod 700 ~vagrant/.ssh",
"echo 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key' > ~vagrant/.ssh/authorized_keys",
"chmod 600 ~vagrant/.ssh/authorized_keys",
"chown -R vagrant: ~vagrant/.ssh",
And should fix the issues.
Alvaro.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/56DC4EA4.2070106%40shiftgig.com.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cat /sys/class/net/veth02d999b/address
Stdout from the command:
Stderr from the command:
cat: /sys/class/net/veth02d999b/address: No such file or directory
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey_7rP2A5oMYYxmB8zAVvJv%3D9PhsEQsXcWBE50-JgO7zw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/56DDA249.9050709%40shiftgig.com.