diff --git a/lib/vagrant/guest.rb b/lib/vagrant/guest.rb index 85a6eb8da..f7be29ba1 100644 --- a/lib/vagrant/guest.rb +++ b/lib/vagrant/guest.rb @@ -45,5 +45,12 @@ module Vagrant def ready? !!capability_host_chain end + + # Returns the specified or detected guest type name + # + # @return [Symbol] + def name + capability_host_chain[0][0] + end end end