Merge pull request #10486 from chrisroberts/f-vbox-warn-req
Adjust requirement on warnings for VirtualBox NIC
This commit is contained in:
commit
520d4d4da3
|
@ -11,7 +11,7 @@ module VagrantPlugins
|
|||
class SetDefaultNICType
|
||||
# Defines versions of VirtualBox with susceptible implementation
|
||||
# of the E1000 devices.
|
||||
E1000_SUSCEPTIBLE = Gem::Requirement.new("<= 5.2.22").freeze
|
||||
E1000_SUSCEPTIBLE = Gem::Requirement.new("< 5.2.22").freeze
|
||||
|
||||
def initialize(app, env)
|
||||
@logger = Log4r::Logger.new("vagrant::plugins::virtualbox::set_default_nic_type")
|
||||
|
|
|
@ -91,7 +91,7 @@ describe VagrantPlugins::ProviderVirtualBox::Action::SetDefaultNICType do
|
|||
end
|
||||
|
||||
context "when virtualbox version is has susceptible E1000" do
|
||||
let(:virtualbox_version) { "5.2.22" }
|
||||
let(:virtualbox_version) { "5.2.21" }
|
||||
|
||||
it "should output a warning" do
|
||||
expect(machine.ui).to receive(:warn)
|
||||
|
|
Loading…
Reference in New Issue