Merge pull request #5042 from legal90/fix-post-comm
providers/virtualbox: Add 'post-comm' to the list of valid events
This commit is contained in:
commit
d5dae4b492
|
@ -143,7 +143,7 @@ module VagrantPlugins
|
||||||
def validate(machine)
|
def validate(machine)
|
||||||
errors = _detected_errors
|
errors = _detected_errors
|
||||||
|
|
||||||
valid_events = ["pre-import", "pre-boot", "post-boot"]
|
valid_events = ["pre-import", "pre-boot", "post-boot", "post-comm"]
|
||||||
@customizations.each do |event, _|
|
@customizations.each do |event, _|
|
||||||
if !valid_events.include?(event)
|
if !valid_events.include?(event)
|
||||||
errors << I18n.t(
|
errors << I18n.t(
|
||||||
|
|
Loading…
Reference in New Issue