provisioners/docker: fix wrong variable usage

caught by @pda
This commit is contained in:
Mitchell Hashimoto 2014-01-15 17:33:55 -08:00
parent 35a19f829c
commit ead1382343
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module VagrantPlugins
@machine.communicate.tap do |comm|
images.each do |path, opts|
@machine.ui.info(I18n.t("vagrant.docker_building_single", path: path))
comm.sudo("docker build #{image[:args]} #{path}")
comm.sudo("docker build #{opts[:args]} #{path}")
end
end
end