From d95650e0b6613aa5d6248f57754182359e02c4ee Mon Sep 17 00:00:00 2001 From: Matt Wrock Date: Sat, 4 Jul 2015 11:57:22 -0700 Subject: [PATCH] adding from_image to machine_options --- lib/chef/provider/machine.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/chef/provider/machine.rb b/lib/chef/provider/machine.rb index e1b83781..ba17586c 100644 --- a/lib/chef/provider/machine.rb +++ b/lib/chef/provider/machine.rb @@ -146,6 +146,7 @@ def machine_options(driver) end } + configs << { from_image: new_resource.from_image } if new_resource.from_image configs << new_resource.machine_options if new_resource.machine_options configs << driver.config[:machine_options] if driver.config[:machine_options] Cheffish::MergedConfig.new(*configs)