<div dir="ltr">Thanks a ton Michal for the reply. I tried your suggestion but a message popped out when was trying to save the xml file which said: "Editing of already existing domain is not supported"... :(<div>
Why I want this is because the node which is getting created is creating empty vmdk image and if I try to boot with it, it says No Operating System found, which is quite valid. I want to attach my vmdk which has the OS in it.</div>
<div><br></div><div style>I am just wondering how others are creating VMs and using it with libvirt...!! </div><div style><br></div><div style>Is there any suggestion how I can boot my node?</div><div style><br></div><div style>
Regards,</div><div style>Varun</div><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 12:57 PM, Michal Privoznik <span dir="ltr"><<a href="mailto:mprivozn@redhat.com" target="_blank">mprivozn@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 26.09.2013 05:50, varun bhatnagar wrote:<br>
> Hi,<br>
><br>
> Is it possible to attach a harddisk to an ESX node later after<br>
> creating/defining it?<br>
> If yes, can anyone tell me how to do it?<br>
><br>
> Regards,<br>
> Varun<br>
><br>
<br>
</div></div>Unfortunately, this piece of functionality is not implemented yet.<br>
However, if you want to do a cold plug (that is disk will be visible at<br>
next start of the domain), you can 'virsh edit $dom' and write the<br>
appropriate XML snippet by hand.<br>
<span class="HOEnZb"><font color="#888888"><br>
Michal<br>
</font></span><br>
P.S.: Patches are welcome :)<br>
<br>
</blockquote></div><br></div>