summaryrefslogtreecommitdiffstats
path: root/templates/virtual_environment/vms/computer02.xml
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-05-26 10:13:00 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-05-26 10:15:03 +0800
commit27473298c290b39a876f7e67ce3d5e6b5b9ef799 (patch)
tree2e78b05f56e6addc0e10ce31df5382734434b982 /templates/virtual_environment/vms/computer02.xml
parent8f3626f39a5e0eb1be7a971dcc2accf5a0b8b569 (diff)
Create ceph disk in bash script
Change-Id: Ib80710c784d384ebc27eb0f51fcb4384017eecca Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'templates/virtual_environment/vms/computer02.xml')
-rw-r--r--templates/virtual_environment/vms/computer02.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/virtual_environment/vms/computer02.xml b/templates/virtual_environment/vms/computer02.xml
index b2b48bf0..ada7e1a4 100644
--- a/templates/virtual_environment/vms/computer02.xml
+++ b/templates/virtual_environment/vms/computer02.xml
@@ -38,6 +38,14 @@
<alias name='ide0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
+ <disk type='file' device='disk'>
+ <driver name='qemu' type='qcow2'/>
+ <source file='/home/qemu/vms/computer02_data.qcow2'/>
+ <backingStore/>
+ <target dev='hdb' bus='ide'/>
+ <alias name='ide0-0-1'/>
+ <address type='drive' controller='0' bus='0' target='0' unit='1'/>
+ </disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<alias name='usb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>