<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 11:29 AM, Laurentiu Pancescu <span dir="ltr"><<a href="mailto:lpancescu@gmail.com" target="_blank">lpancescu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Marcin,<span class="gmail-"><br>
<br>
On 04/12/16 04:52, Marcin Dulak wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
it looks to me that the reason for 'IDE Controller' missing may be actually<br>
in the box.ovf file,<br>
</blockquote>
</span><br></blockquote><div><div> 
<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"></span>
perhaps I wasn't clear enough in my previous reply: there is no guarantee that a Vagrant box will have an IDE controller named "IDE Controller", and there never was.  There is no mention of IDE in the Vagrant documentation[1], and, if I may quote from the VirtualBox User Manual, chapter 5, section 5.1, the last paragraph[2]:<br></blockquote><div><br></div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
| In general, you should avoid IDE unless it is the only controller<br>
| supported by your guest. Whether you use SATA, SCSI or SAS does not<br>
| make any real difference.<br>
<br></blockquote><div> </div><div><div>Just imagine how many people may be affected by 'IDE Controller' 
suddenly missing and applying the workaround by changing the name to 
'IDE'.<br>Over the years the name has changed several times in some setups <a href="https://github.com/xdissent/ievms/issues/204">https://github.com/xdissent/ievms/issues/204</a> and one may expect<br></div>that sooner or later the 'IDE Controller' will reappear causing troubles again.<br><br>I'm saying that box.ovf provided by centos vagrant boxes may be possibly incorrect, as the configuration is not read.<br>Please
 verify this. The box.ovf contains 'IDE Controller' - maybe correcting 
box.ovf is enough to bring the 'IDE Controller' back.<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Using SATA has concrete performance benefits, both in disk performance on the guest, as well as in CPU and memory usage on the host.  I'm already using SATA instead of IDE for my own experimental Vagrant boxes for VirtualBox, and switching our official boxes away from IDE is something I'm considering for the future.  Such boxes wouldn't have any IDE controller at all.<br>
<br>
My advice would be to change your Vagrantfile to find the storage controller used by the VirtualBox VM (you can write normal Ruby code inside a Vagrantfile); if that's too complex, an alternative would be to add an additional storage controller with a name of your choosing and attach you disk image there.<br></blockquote><div><br>adding a custom controller presupposes that there is no other controller of the same type already present,<br>so for example one cannot add 'IDE Controller' if an 'IDE' of type ide is already present.<br></div><div>Moreover testing for the presence of the controller is not elegant as it involves overriding vagrant methods: <a href="https://gist.github.com/leifg/4713995">https://gist.github.com/leifg/4713995</a><br>and it would need to be worked out for all possible workflows like reloading the VM <a href="https://github.com/mitchellh/vagrant/issues/6682">https://github.com/mitchellh/vagrant/issues/6682</a><br>with disks shareable between different VMs in a multi-machine environment.<br><br></div><div>Best regards,<br></div><div><br></div><div>Marcin<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Best regards,<br>
Laurențiu<br>
<br>
<br>
[1] <a href="https://www.vagrantup.com/docs/virtualbox/boxes.html" rel="noreferrer" target="_blank">https://www.vagrantup.com/docs<wbr>/virtualbox/boxes.html</a><br>
[2] <a href="https://www.virtualbox.org/manual/ch05.html#harddiskcontrollers" rel="noreferrer" target="_blank">https://www.virtualbox.org/man<wbr>ual/ch05.html#harddiskcontroll<wbr>ers</a><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
______________________________<wbr>_________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/centos-devel</a><br>
</div></div></blockquote></div><br></div></div>