Difference between revisions of "Vnx-modify-rootfs"

From VNX
Jump to: navigation, search
Line 1: Line 1:
 +
<li> '''rootfs_XXX.xml''', which are libvirt specifications to start virtual machines with Internet connection (through a NAT) using the different VNX root file-systems. They are included to easily allow modifying root filesystems (for example, to install new software packages).</li>
 +
 +
=== Modify root filesystem scenarios (root_fs_XXX.xml) ===
 +
 +
To modify a root filesystem, for example, installing new software packages, just start the associated libvirt scenario with:
 +
virsh create root_fs_XXX.xml
 +
 +
And open the console using:
 +
virt-viewer VMNAME
 +
being VMNAME the name assigned to the virtual machine (you can get it with "virsh list" command or just looking for the <name> tag in root_fs_XXX.xml file).
  
<li> '''rootfs_XXX.xml''', which are libvirt specifications to start virtual machines with Internet connection (through a NAT) using the different VNX root file-systems. They are included to easily allow modifying root filesystems (for example, to install new software packages).</li>
+
To easy the process, you can use the vnx_modify_rootfs simple script that starts the virtual machine and opens the console:
 +
 
 +
/usr/share/vnx/bin/vnx_modify_rootfs root_fs_XXX.xml

Revision as of 15:33, 27 July 2011

  • rootfs_XXX.xml, which are libvirt specifications to start virtual machines with Internet connection (through a NAT) using the different VNX root file-systems. They are included to easily allow modifying root filesystems (for example, to install new software packages).
  • Modify root filesystem scenarios (root_fs_XXX.xml)

    To modify a root filesystem, for example, installing new software packages, just start the associated libvirt scenario with:

    virsh create root_fs_XXX.xml
    

    And open the console using:

    virt-viewer VMNAME
    

    being VMNAME the name assigned to the virtual machine (you can get it with "virsh list" command or just looking for the <name> tag in root_fs_XXX.xml file).

    To easy the process, you can use the vnx_modify_rootfs simple script that starts the virtual machine and opens the console:

    /usr/share/vnx/bin/vnx_modify_rootfs root_fs_XXX.xml