diff --git a/lib/vagrant/command/box.rb b/lib/vagrant/command/box.rb index 6da7542cb..c2e6e7617 100644 --- a/lib/vagrant/command/box.rb +++ b/lib/vagrant/command/box.rb @@ -24,7 +24,9 @@ module Vagrant desc "list", "Lists all installed boxes" def list - # TODO + boxes = Box.all(env).sort + return env.ui.warn("There are no installed boxes! Use `vagrant box add` to add some.") if boxes.empty? + boxes.each { |b| env.ui.info(b) } end end end