vagrant/templates
Seth Vargo efdb148f61
Move pre-flight package validation to middleware
This commit separates the scratch and output directory creation from the
main package middleware into its own PackageSetupFolders middleware.
Additionally, the validation that ensures an output file does not exist
is moved into a validation function that can be shared across multiple
methods.

This refactor permits a pre-flight check to ensure box packaging would
be successful before actually stopping the VM.

Fixes GH-7351
2016-05-27 17:07:04 -04:00
..
commands Merge pull request #6963 from mitchellh/sethvargo/str_ver 2016-02-02 09:48:19 -05:00
config Support warnings/errors when upgrading Vagrantfiles internally 2013-01-20 22:04:50 -05:00
guests Merge pull request #6515 from oliviermeurice/slack_net_conf 2015-11-18 16:04:17 -08:00
locales Move pre-flight package validation to middleware 2016-05-27 17:07:04 -04:00
nfs Changed order of nfs exports parameters for FreeBSD 2014-07-03 11:02:06 -07:00
provisioners Support Chef Solo local + legacy modes 2016-05-19 15:27:17 +01:00
package_Vagrantfile.erb New `vagrant package` option `--vagrantfile` and changed semantics of `--include` (see CHANGELOG) 2010-09-12 23:20:13 -06:00
rgloader.rb Extra protection in the rgloader file 2013-01-31 19:54:50 -08:00