diff --git a/lib/vagrant-hostmanager/command.rb b/lib/vagrant-hostmanager/command.rb index b520250..831f08f 100644 --- a/lib/vagrant-hostmanager/command.rb +++ b/lib/vagrant-hostmanager/command.rb @@ -16,6 +16,8 @@ module VagrantPlugins end argv = parse_options(opts) + return if !argv + options[:provider] ||= @env.default_provider generate(@env, options[:provider].to_sym)