Virt-edit: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=External=
=External=


*  
* https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Guest_virtual_machine_disk_access_with_offline_tools-Other_commands.html
 
=Internal=
=Internal=


Line 11: Line 12:


{{Warn|virt-edit may cause disk corruption if used on a live virtual machine.}}
{{Warn|virt-edit may cause disk corruption if used on a live virtual machine.}}
=Examples=
  virt-edit -a /main-storage-pool/appproxy.qcow2 /etc/sysconfig/network-scripts/ifcfg-eth0

Latest revision as of 20:10, 3 July 2017

External

Internal

Overview

A tool to edit files on a virtual machine.


virt-edit may cause disk corruption if used on a live virtual machine.

Examples

 virt-edit -a /main-storage-pool/appproxy.qcow2 /etc/sysconfig/network-scripts/ifcfg-eth0