VMWare VM should be created network based if it is selected in the gui
When creating a host network based foreman creates the host image based because the image_id is always set.
in app/models/compute_resources/foreman/model/vmware.rb create_vm
if args[:provision_method] == 'image'
fixes #12517 - VMWare VM should be created network based only if it is selected in the gui
#1 Updated by Dominic Cleal over 4 years ago
I think the image_id in the New Host form is disabled for a network build so shouldn't be sent in the form parameters. This might happen if the image_id is stored on a compute profile as it'll get copied in regardless. #10237 reports this too from inside a plugin or the API.