diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1cd6d95..d8dd3818c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## 0.7.6 (unreleased) + - Add "--no-color" as an argument and no colorized output will be used. [GH-379] - Added DEVICE option to the RedHat host only networking entry, which allows host only networking to work even if the VM has multiple NICs. [GH-382] - Touch the network configuration file for RedHat so that the `sed` works diff --git a/bin/vagrant b/bin/vagrant index d7e35fe24..8cc7a9d6e 100755 --- a/bin/vagrant +++ b/bin/vagrant @@ -5,10 +5,12 @@ require 'vagrant/cli' env = Vagrant::Environment.new begin + shell = ARGV.include?("--no-color") ? Thor::Shell::Basic.new : Thor::Base.shell.new + # Set the UI early in case any errors are raised, and load # the config immediately, so we gather any new commands from # plugins - env.ui = Vagrant::UI::Shell.new(env, Thor::Base.shell.new) + env.ui = Vagrant::UI::Shell.new(env, shell) env.load! # Kick start the CLI