Fix crashing issue when all networks don't aut config [GH-689]

This commit is contained in:
Mitchell Hashimoto 2012-01-28 21:48:12 -08:00
parent f8619007a7
commit d687473760
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
## 0.9.5 (unreleased)
- Fix crashing case when all network options are `:auto_config false`.
[GH-689]
## 0.9.4 (January 28, 2012)

View File

@ -64,7 +64,7 @@ module Vagrant
# setup until after it is booted.
@app.call(env)
if !adapters.empty?
if !adapters.empty? && !networks.empty?
# Determine the interface numbers for the guest.
assign_interface_numbers(networks, adapters)