diff --git a/plugins/kernel_v2/config/vm_trigger.rb b/plugins/kernel_v2/config/vm_trigger.rb index 72bccdd3a..2e45236ca 100644 --- a/plugins/kernel_v2/config/vm_trigger.rb +++ b/plugins/kernel_v2/config/vm_trigger.rb @@ -119,8 +119,7 @@ module VagrantPlugins end if !commands.include?(@command) - # does this make sense to print on this machine? - machine.ui.warn(I18n.t("vagrant.config.triggers.bad_command_warning", + @logger.warn(I18n.t("vagrant.config.triggers.bad_command_warning", cmd: @command)) end