When starting up a VM by running vagrant up some virtual machines may have an issue where vagrant reports the following error:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ip -o -0 addr | grep -v LOOPBACK | awk '{print $2}' | sed 's/://'
Stdout from the command:
Unfortunately, this is a bug in images that are still only present in version 1.0. The root case for this issue is a missing passwordless sudo configuration.
Solution
You can still directly access the VM by running vagrant ssh
You can still live with this message if it does not bother you right now
You can fix the sudo setup to run passwordless
Boxes in version above 1.0 do not have this issue anymore
General
When starting up a VM by running
vagrant up
some virtual machines may have an issue where vagrant reports the following error:Unfortunately, this is a bug in images that are still only present in version
1.0
. The root case for this issue is a missingpasswordless sudo
configuration.Solution
vagrant ssh
Links
Also affects the following issues:
1
3