chef-provisioning-docker icon indicating copy to clipboard operation
chef-provisioning-docker copied to clipboard

machine_image from_image

Open StuporHero opened this issue 8 years ago • 0 comments

Creating an image from an image results in no converge taking place. It simply tags the old image. I think I'm not very familiar with Ruby yet, but I think I found the culprit in lines 224-229 in driver.rb.

if machine_spec.from_image
        convergence_strategy = Chef::Provisioning::ConvergenceStrategy::NoConverge.new({}, config)
      else
        convergence_strategy = Chef::Provisioning::ConvergenceStrategy::InstallCached.
          new(machine_options[:convergence_options], config)
end

StuporHero avatar Aug 05 '16 06:08 StuporHero