Actions
Bug #12517
closedVMWare VM should be created network based if it is selected in the gui
Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Description
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[:image_id].present?
should be
if args[:provision_method] == 'image'
Updated by Dominic Cleal about 9 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.
Updated by Dominic Cleal about 9 years ago
- Related to Bug #10237: Host.new and API disregard provision_method added
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2921 added
Updated by Dominic Cleal about 9 years ago
- Translation missing: en.field_release set to 104
Updated by Anonymous about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2328beb569d3f0e51043202d3a00a3b30879d244.
Updated by Dominic Cleal almost 9 years ago
- Has duplicate Bug #13141: Cloning host discards provisioning method added
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #13986: Provisioning via API without explicitly specifying the provisioning method can lead to using combination of image and build provisioning methods added
Actions