Make vm_ballo
optional for libvirt
This commit is contained in:
parent
bb667da591
commit
b831eef9ad
@ -1,7 +1,7 @@
|
|||||||
<domain type='kvm'>
|
<domain type='kvm'>
|
||||||
<name>{{ hostname }}</name>
|
<name>{{ hostname }}</name>
|
||||||
<memory>{{ vm_memory | int * 1024 }}</memory>
|
<memory>{{ vm_memory | int * 1024 }}</memory>
|
||||||
<currentMemory>{{ vm_ballo | int * 1024 }}</currentMemory>
|
{% if vm_ballo is defined %}<currentMemory>{{ vm_ballo | int * 1024 }}</currentMemory>{% endif %}
|
||||||
<vcpu placement='static'>{{ vm_cpus }}</vcpu>
|
<vcpu placement='static'>{{ vm_cpus }}</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='x86_64' machine="pc-q35-8.0">hvm</type>
|
<type arch='x86_64' machine="pc-q35-8.0">hvm</type>
|
||||||
@ -52,4 +52,4 @@
|
|||||||
<model type="virtio" heads="1" primary="yes"/>
|
<model type="virtio" heads="1" primary="yes"/>
|
||||||
</video>
|
</video>
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
Loading…
Reference in New Issue
Block a user