mirror of
https://github.com/oVirt/ovirt-ansible-image-template.git
synced 2026-02-05 15:45:29 +01:00
add template_seal variable otherwise it fails on Windows templates. This must be set to 'false' when using Windows images. (#38)
This commit is contained in:
committed by
Ondra Machacek
parent
c29e2a2e2c
commit
e8b2a507b7
@@ -56,6 +56,7 @@ Role Variables
|
||||
| template_disk_name | UNDEF | The name of template disk. |
|
||||
| template_disk_format | UNDEF | Format of the template disk. |
|
||||
| template_disk_interface | virtio | Interface of the template disk. |
|
||||
| template_seal | true | 'Sealing' erases all machine-specific configurations from a filesystem. Not supported on Windows. Set this to 'false' for Windows. |
|
||||
| template_timeout | 600 | Amount of time to wait for the template to be created. |
|
||||
| template_type | UNDEF | The type of the template: desktop, server or high_performance (for qcow2 based templates only) |
|
||||
| template_nics | {name: nic1, profile_name: ovirtmgmt, interface: virtio} | List of dictionaries that specify the NICs of template. |
|
||||
|
||||
@@ -13,5 +13,6 @@ template_nics:
|
||||
- name: nic1
|
||||
profile_name: ovirtmgmt
|
||||
interface: virtio
|
||||
template_seal: true
|
||||
|
||||
disk_storage_domain: null
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
vm: "{{ vm_name }}"
|
||||
cluster: "{{ template_cluster }}"
|
||||
timeout: "{{ template_timeout }}"
|
||||
seal: true
|
||||
seal: "{{ template_seal }}"
|
||||
when: ovirt_templates | length == 0
|
||||
tags:
|
||||
- ovirt-template-image
|
||||
|
||||
Reference in New Issue
Block a user