User Tools

Site Tools


command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
command_line [2017/07/02 02:21]
k2patel old revision restored (2015/01/27 15:19)
command_line [2017/10/06 00:21]
k2patel [Extract folder from KVM Guest Image]
Line 151: Line 151:
 </​code>​ </​code>​
  
 +==== Extract folder from KVM Guest Image ====
 +This is appear to be far easy solution then i thought.\\
 +[[http://​libguestfs.org/​virt-copy-out.1.html|Link to official Document]]
 +
 +For RHEL you require following packages installed.
 +  * libguestfs-tools
 +  * libguestfs-xfs ​ # if guest filesystem is XFS.
 +
 +<code bash>
 +mkdir test
 +virt-copy-out -a machine2.qcow2 /​metadata/​testing/​users test/
 +</​code>​
command_line.txt ยท Last modified: 2021/08/24 21:11 by k2patel