diff --git a/plugins/providers/hyperv/cap/public_address.rb b/plugins/providers/hyperv/cap/public_address.rb index 165742525..cb7d4f692 100644 --- a/plugins/providers/hyperv/cap/public_address.rb +++ b/plugins/providers/hyperv/cap/public_address.rb @@ -1,7 +1,7 @@ module VagrantPlugins - module Share + module HyperV module Cap - class VirtualBox + module PublicAddress def self.public_address(machine) return nil if machine.state.id != :running