From f6c33fb4efa0ea623df45767f4fa67eb615a1e05 Mon Sep 17 00:00:00 2001 From: Marco Monteiro Date: Fri, 1 Jun 2012 12:40:01 +0100 Subject: [PATCH] Fix reference to undefined variable --- plugins/guests/arch/guest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/arch/guest.rb b/plugins/guests/arch/guest.rb index dbb5ce977..71186626c 100644 --- a/plugins/guests/arch/guest.rb +++ b/plugins/guests/arch/guest.rb @@ -34,7 +34,7 @@ module VagrantPlugins vm.channel.upload(temp.path, temp.path) vm.channel.sudo("mv #{temp.path} /etc/network.d/interfaces/eth#{network[:interface]}") - vm.channel.sudo("netcfg interfaces/eth#{interface}") + vm.channel.sudo("netcfg interfaces/eth#{network[:interface]}") end end end