pkg/libvirttools/TestRootVolumeFiles.out.yaml
- name: CreateStoragePool
value: |-
<pool type="">
<name>volumes</name>
<target>
<path>/fake/volumes/pool</path>
</target>
</pool>
- name: 'image: GetImagePathDigestAndVirtualSize'
value: fake/image1
- name: 'volumes: CreateStorageVol'
value: |-
<volume type="file">
<name>virtlet_root_77f29a0e-46af-4188-a6af-9ff8b8a65224</name>
<allocation unit="b">0</allocation>
<capacity unit="b">424242</capacity>
<target>
<format type="qcow2"></format>
</target>
<backingStore>
<path>/fake/volume/path</path>
<format type="qcow2"></format>
</backingStore>
</volume>
- name: PutFiles
value:
files:
/foo/bar.txt: bar
/foo/baz.txt: baz
imagePath: /fake/volumes/pool/virtlet_root_77f29a0e-46af-4188-a6af-9ff8b8a65224