Add proper message when Vagrant is quit from interrupt
This commit is contained in:
parent
0094f066ca
commit
44963824a3
|
@ -206,6 +206,7 @@ module Vagrant
|
||||||
|
|
||||||
class VagrantInterrupt < VagrantError
|
class VagrantInterrupt < VagrantError
|
||||||
status_code(40)
|
status_code(40)
|
||||||
|
error_key(:interrupted)
|
||||||
end
|
end
|
||||||
|
|
||||||
class VirtualBoxInvalidOSE < VagrantError
|
class VirtualBoxInvalidOSE < VagrantError
|
||||||
|
|
|
@ -8,6 +8,7 @@ en:
|
||||||
base_vm_not_found: The base VM with the name '%{name}' was not found.
|
base_vm_not_found: The base VM with the name '%{name}' was not found.
|
||||||
box_not_found: Box '%{name}' could not be found.
|
box_not_found: Box '%{name}' could not be found.
|
||||||
cli_missing_env: This command requires that a Vagrant environment be properly passed in as the last parameter.
|
cli_missing_env: This command requires that a Vagrant environment be properly passed in as the last parameter.
|
||||||
|
interrupted: Vagrant exited after cleanup due to external interrupt.
|
||||||
multi_vm_required: A multi-vm environment is required for name specification to this command.
|
multi_vm_required: A multi-vm environment is required for name specification to this command.
|
||||||
multi_vm_target_required: `vagrant %{command}` requires a specific VM name to target in a multi-VM environment.
|
multi_vm_target_required: `vagrant %{command}` requires a specific VM name to target in a multi-VM environment.
|
||||||
no_env: No Vagrant environment detected. Run `vagrant init` to set one up.
|
no_env: No Vagrant environment detected. Run `vagrant init` to set one up.
|
||||||
|
|
Loading…
Reference in New Issue