Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 - Fedora17

4 bytes added, 10:06, 14 May 2013
no edit summary
<ol>
<li value="12">You should make a copy of the xml configuration file in case you "wipe" and re-install the host machine, and want to add a restored VM backups to the virtual machine manager list. We will demonstrate using the fedora 3 xml configuration file, and prove that a "clone" can be added to your list.Please perform the following step:<ol type="a">
<li>Verify that you are in the directory: <code>/var/lib/libvirt/images/</code>.</li> <li><li>Execute the following command: <code>virsh dumpxml fedora3 >fedora3.xml</code></li>
<li>Examine the file <code>fedora3.xml</code>. What does it contain? What format is it in?</li>
<li>Make a copy of <code>fedora3.xml</code> called <code>fedora3a.xml</code>.</li>
::* Change at least one of the hexadecimal characters in the UUID. Do not change the length of the UUID. Valid hexadecimal characters are 0-9 and a-f.
<ol type="a" >
<li value="56">Verify that you are in the directory: <code>/var/lib/libvirt/images/</code>.</li> <li>Issue this command: <code>virsh define fedora3a.xml</code>
<li>Issue the command <code>virsh list --all</code> and record any changes.
<li>Issue the command: <code>virsh undefine fedora3a</code>
13,420
edits