Updating instruction for windows 2012 image

Updating 'Example: Microsoft Windows image':
1.c: 10GB to 15GB
2: adding format=qocw2

Change-Id: I52792f37152f46443e5d63eca147b6aba265d1e1
Closes-bug: #1406466
This commit is contained in:
kylin7-sg 2014-12-31 10:21:37 +08:00
parent 066d80519b
commit d4fdca3d6d

View File

@ -28,8 +28,8 @@
website</link>.</para> website</link>.</para>
</step> </step>
<step> <step>
<para>Create a 10&nbsp;GB qcow2 image:</para> <para>Create a 15&nbsp;GB qcow2 image:</para>
<screen><prompt>$</prompt> <userinput>qemu-img create -f qcow2 ws2012.qcow2 10G</userinput></screen> <screen><prompt>$</prompt> <userinput>qemu-img create -f qcow2 ws2012.qcow2 15G</userinput></screen>
</step> </step>
</substeps> </substeps>
</step> </step>
@ -39,7 +39,7 @@
<screen><prompt>#</prompt> <userinput>virt-install --connect qemu:///system \ <screen><prompt>#</prompt> <userinput>virt-install --connect qemu:///system \
--name ws2012 --ram 2048 --vcpus 2 \ --name ws2012 --ram 2048 --vcpus 2 \
--network network=default,model=virtio \ --network network=default,model=virtio \
--disk path=ws2012.qcow2,device=disk,bus=virtio \ --disk path=ws2012.qcow2,format=qcow2,device=disk,bus=virtio \
--cdrom /path/to/en_windows_server_2012_x64_dvd.iso \ --cdrom /path/to/en_windows_server_2012_x64_dvd.iso \
--disk path=/path/to/virtio-win-0.1-XX.iso,device=cdrom \ --disk path=/path/to/virtio-win-0.1-XX.iso,device=cdrom \
--vnc --os-type windows --os-variant win2k8</userinput></screen> --vnc --os-type windows --os-variant win2k8</userinput></screen>