Hello, I’m trying to build a CI/CD that creates a vagrant box. The problem is that when I build a box by doing “vagrant up” and later doing a “vagrant box add …”. When the provisioning failed, it will respond with a 0 exist despite saying
The SSH command responded with a non-zero exit status. Vagrant
I’d rather for vagrant to fail at that point.
Anything I can do? Is vagrant up, even the correct thing to do here? I came from the docker world, and I’m wondering if there is an equivalent docker build in vagrant. Vagrant start feels like docker start to me.