From b876d9ed1df0a9ef81c7d2daa3f6c8251fa39a6d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 8 Jul 2011 00:56:52 -0700 Subject: [PATCH] Move MAC address UI output into the customize block --- lib/vagrant/action/vm/match_mac_address.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/action/vm/match_mac_address.rb b/lib/vagrant/action/vm/match_mac_address.rb index c8db65fa2..2db2d85d9 100644 --- a/lib/vagrant/action/vm/match_mac_address.rb +++ b/lib/vagrant/action/vm/match_mac_address.rb @@ -9,8 +9,8 @@ module Vagrant 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