Project

General

Profile

Actions

Bug #12517

closed

VMWare VM should be created network based if it is selected in the gui

Added by Timo Goebel about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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'


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #10237: Host.new and API disregard provision_methodDuplicate04/22/2015Actions
Related to Foreman - Bug #13986: Provisioning via API without explicitly specifying the provisioning method can lead to using combination of image and build provisioning methodsClosedIvan Necas03/01/2016Actions
Has duplicate Foreman - Bug #13141: Cloning host discards provisioning methodDuplicate01/12/2016Actions
Actions

Also available in: Atom PDF