rook storage working

This commit is contained in:
2022-11-02 22:18:55 +13:00
parent 4d4977b164
commit d9a28d21a8
16 changed files with 16648 additions and 24 deletions

View File

@ -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: |

View File

@ -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'>