mitchellh/vagrant — Issue #597: vagrant package --vagrantfile should check for file existence before exporting the VM
Author: jayed
Created: 2011-12-19 09:07:23+00:00
State: open

It was annoying to find out I'd put the wrong path to my Vagrantfile after waiting for the VM to export.

[jayed vboxes]$ vagrant package --base CentOS\ 6.1\ x86_64 --vagrantfile ./Vagrantfile

[vagrant] Clearing any previously set forwarded ports...
[vagrant] Creating temporary directory for export...
[vagrant] Exporting VM...
Progress: 0%Progress: 1%Progress: 3%Progress: 4%Progress: 5%Progress: 6%Progress: 7%Progress: 8%Progress: 14%Progress: 15%Progress: 16%Progress: 25%Progress: 26%Progress: 27%Progress: 28%Progress: 37%Progress: 38%Progress: 49%Progress: 50%Progress: 59%Progress: 63%Progress: 64%Progress: 65%Progress: 70%Progress: 73%Progress: 75%Progress: 79%Progress: 80%Progress: 81%Progress: 82%Progress: 83%Progress: 84%Progress: 86%Progress: 88%Progress: 90%Progress: 91%Progress: 92%Progress: 93%Progress: 94%Package include file doesn't exist: ./Vagrantfile