rook storage working
This commit is contained in:
@ -16,6 +16,8 @@
|
||||
when: vm_name not in vm_list.list_vms
|
||||
block:
|
||||
|
||||
# TODO fix the template to set data vhds as scsi bus with rotation_rate="" in disk > target
|
||||
|
||||
- name: create root vhd from template
|
||||
ansible.builtin.shell:
|
||||
cmd: |
|
||||
|
@ -53,12 +53,12 @@
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='qcow2'/>
|
||||
<source file='{{ data_nvme_vhd_pool_dir }}/{{ vm_name }}_vdc.qcow2'/>
|
||||
<target dev='vdc' bus='virtio'/>
|
||||
<target dev='sda' bus='scsi' rotation_rate="1"/>
|
||||
</disk>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='qemu' type='qcow2'/>
|
||||
<source file='{{ data_hdd_vhd_pool_dir }}/{{ vm_name }}_vdd.qcow2'/>
|
||||
<target dev='vdd' bus='virtio'/>
|
||||
<target dev='sdb' bus='scsi' rotation_rate="7200"/>
|
||||
</disk>
|
||||
<controller type='virtio-serial' index='0'/>
|
||||
<interface type='bridge'>
|
||||
|
Reference in New Issue
Block a user