vagrant/plugins/providers/virtualbox
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
..
action Move pre-flight package validation to middleware 2016-05-27 17:07:04 -04:00
cap Add public_address cap for VirtualBox 2015-11-23 16:23:22 -05:00
driver Check both stderr and stdout 2016-03-17 10:52:10 -04:00
model Use .key? instead of .has_key? 2015-01-05 18:29:01 -05:00
util core: set `disabled: true` for disabling forwarded port [GH-1922] 2013-08-29 12:25:53 -07:00
action.rb Move pre-flight package validation to middleware 2016-05-27 17:07:04 -04:00
cap.rb Return nil if the VM is not running when looking at forwarded ports 2015-11-24 16:33:09 -05:00
config.rb providers/virtualbox: ability to customize linked clone snapshot 2015-10-08 11:58:47 -04:00
plugin.rb Add public_address cap for VirtualBox 2015-11-23 16:23:22 -05:00
provider.rb Revert "#5186: Warning: Authentication failure. Retrying... after packaging box" 2015-11-18 16:35:35 -08:00
synced_folder.rb Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00