Vagrant: Log file only copied when build succeeds
Originally created by @kytv on #7749 (Redmine)
When a build using Vagrant succeeds, three files are copied from the VM:
- packagelist
- iso
- logfile
If the build fails for whatever reason, the log file is not copied from the VM.