Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set new templates with specified vm-init #760

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

ahadas
Copy link
Member

@ahadas ahadas commented Nov 27, 2022

Previously, the backend (AddVmTemplate) set new templates with the vm-init configuration of the VM that they were created from. This prevented users from creating templates with modified vm-init configuration or without vm- init configuration from VMs that are set with vm-init. Users could either change the VM first or modify the created template to achieve this.

Now, the backend respects the vm-init configuration that is specified by clients. While the handling of vm-init in REST-API works well, the UI did not pass the vm-init configuration of the VM that templates were created from. Therefore, the webadmin is changed to load the vm-init configuration of the VM that a template is created from and pass it to the backend now.

Previously, the backend (AddVmTemplate) set new templates with the vm-init
configuration of the VM that they were created from. This prevented users
from creating templates with modified vm-init configuration or without vm-
init configuration from VMs that are set with vm-init. Users could either
change the VM first or modify the created template to achieve this.

Now, the backend respects the vm-init configuration that is specified by
clients. While the handling of vm-init in REST-API works well, the UI
did not pass the vm-init configuration of the VM that templates were
created from. Therefore, the webadmin is changed to load the vm-init
configuration of the VM that a template is created from and pass it to
the backend now.

Signed-off-by: Arik Hadas <ahadas@redhat.com>
@ahadas
Copy link
Member Author

ahadas commented Nov 27, 2022

/ost

@ahadas ahadas merged commit f103f08 into oVirt:master Dec 5, 2022
@ahadas ahadas deleted the add_template_vm_init branch December 5, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants