Skip to content

Commit

Permalink
Move MAC address UI output into the customize block
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jul 8, 2011
1 parent f3c44fb commit b876d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant/action/vm/match_mac_address.rb
Expand Up @@ -9,8 +9,8 @@ def initialize(app, env)
def call(env)
raise Errors::VMBaseMacNotSpecified if !env.env.config.vm.base_mac

env.ui.info I18n.t("vagrant.actions.vm.match_mac.matching")
env["config"].vm.customize do |vm|
env.ui.info I18n.t("vagrant.actions.vm.match_mac.matching")
vm.network_adapters.first.mac_address = env["config"].vm.base_mac
end

Expand Down

0 comments on commit b876d9e

Please sign in to comment.