2013-10-09

← Older revision

Revision as of 23:59, 9 October 2013

(2 intermediate revisions by one user not shown)

Line 23:

Line 23:

 

  source file='/var/lib/libvirt/images/image_name.qcow2'

 

  source file='/var/lib/libvirt/images/image_name.qcow2'

 

 



Creating images from
with
a base image allows quick rollouts of many boxes based on an single install
- for
example I have a 'golden image' of Centos
,
I can stop that VM and create 2 servers using the original VM disk as a base file and
writing
changes to different files.

+

Creating images from a base image allows quick rollouts of many boxes based on an single install
.

 

+

<br>For
example I have a 'golden image' of Centos
.

 

+

<br>
I can stop that VM and create 2 servers using the original VM disk as a base file and
write
changes to different files.

 

  # qemu-img create -b original_image.qcow2 -f qcow2 clone_image01.qcow2

 

  # qemu-img create -b original_image.qcow2 -f qcow2 clone_image01.qcow2

 

  # qemu-img create -b original_image.qcow2 -f qcow2 clone_image02.qcow2

 

  # qemu-img create -b original_image.qcow2 -f qcow2 clone_image02.qcow2

Line 36:

Line 38:

 

[[User:YazzY|Marcin]]

 

[[User:YazzY|Marcin]]

 

 



[[Category: Alphabetized|
RPM
]]

+

[[Category: Alphabetized|
KVM
]]

 

 

 

<br>

 

<br>

 

<comments /><br>{{:{{TALKSPACE}}:{{PAGENAME}}}}

 

<comments /><br>{{:{{TALKSPACE}}:{{PAGENAME}}}}

Show more