<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello everybody,<br>
    <br>
    I've manually converted a VMWare disk (of a Windows 7 VM) to a KVM
    disk. Then, using sunstone GUI I've registered the image, created
    the template and finally instantiated that template. However, the VM
    fails just before the login screen. I've found that it could be due
    to the UUID field that I'm not able to modify using Sunstone.<br>
    <br>
    As a testing purpose I've created a VM using virt-manager and then
    manually changed the UUID (editing xml file of the VM) to use the
    UUID that initially was assigned by VMWare. Then, the VM works fine
    on that host.<br>
    <br>
    Is there any way to change that UUID using OpenNebula/sunstone
    tools? In the moment of the image template definition I've tried
    adding a variable named UUID with the proper value, but it is not
    enough because it deals that value as a custom one, out of the VM
    section so it maintains the kvm assigned UUID.<br>
    <br>
    This is the output of "onetemplate show 11 -x". Notice the UUID
    field at the end. I think it should appear in VMTEMPLATE section.<br>
    <br>
    <small><VMTEMPLATE><br>
        <ID>11</ID><br>
        <UID>0</UID><br>
        <GID>0</GID><br>
        <UNAME>oneadmin</UNAME><br>
        <GNAME>oneadmin</GNAME><br>
        <NAME>Windows_7b</NAME><br>
        <PERMISSIONS><br>
          <OWNER_U>1</OWNER_U><br>
          <OWNER_M>1</OWNER_M><br>
          <OWNER_A>0</OWNER_A><br>
          <GROUP_U>0</GROUP_U><br>
          <GROUP_M>0</GROUP_M><br>
          <GROUP_A>0</GROUP_A><br>
          <OTHER_U>0</OTHER_U><br>
          <OTHER_M>0</OTHER_M><br>
          <OTHER_A>0</OTHER_A><br>
        </PERMISSIONS><br>
        <REGTIME>1349971090</REGTIME><br>
        <TEMPLATE><br>
          <GID><![CDATA[0]]></GID><br>
          <GNAME><![CDATA[oneadmin]]></GNAME><br>
          <ID><![CDATA[10]]></ID><br>
          <NAME><![CDATA[Windows_7b]]></NAME><br>
          <PERMISSIONS><br>
            <GROUP_A><![CDATA[0]]></GROUP_A><br>
            <GROUP_M><![CDATA[0]]></GROUP_M><br>
            <GROUP_U><![CDATA[0]]></GROUP_U><br>
            <OTHER_A><![CDATA[0]]></OTHER_A><br>
            <OTHER_M><![CDATA[0]]></OTHER_M><br>
            <OTHER_U><![CDATA[0]]></OTHER_U><br>
            <OWNER_A><![CDATA[0]]></OWNER_A><br>
            <OWNER_M><![CDATA[1]]></OWNER_M><br>
            <OWNER_U><![CDATA[1]]></OWNER_U><br>
          </PERMISSIONS><br>
          <REGTIME><![CDATA[1349970085]]></REGTIME><br>
          <TEMPLATE><br>
            <CPU><![CDATA[1]]></CPU><br>
            <DISK><![CDATA[<br>
            ]]></DISK><br>
            <GRAPHICS><![CDATA[<br>
            ]]></GRAPHICS><br>
            <MEMORY><![CDATA[1024]]></MEMORY><br>
            <NAME><![CDATA[Windows_7]]></NAME><br>
            <NIC><![CDATA[<br>
            ]]></NIC><br>
            <OS><![CDATA[<br>
            ]]></OS><br>
            <RAW><![CDATA[<br>
            ]]></RAW><br>
            <TEMPLATE_ID><![CDATA[10]]></TEMPLATE_ID><br>
          </TEMPLATE><br>
          <TEMPLATE_ID><![CDATA[11]]></TEMPLATE_ID><br>
          <UID><![CDATA[0]]></UID><br>
          <UNAME><![CDATA[oneadmin]]></UNAME><br>
      <b>   
<UUID><![CDATA[564d0a8b-f8de-ce9a-ecc2-cf7ebc0e4c83]]></UUID></b><br>
        </TEMPLATE><br>
      </VMTEMPLATE></small><br>
    <br>
    <br>
    Advice will be very appreciated.<br>
    <br>
    <br>
    Carlos.<br>
  </body>
</html>