<br><br>On Tuesday, 20 September 2016, François Cami &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;fcami@fedoraproject.org&#39;);" target="_blank">fcami@fedoraproject.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Sep 19, 2016 at 7:50 PM, Michael Vermaes &lt;<a>mvermaes@gmail.com</a>&gt; wrote:<br>
&gt; On Tuesday, 20 September 2016, Laurentiu Pancescu &lt;<a>lpancescu@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 17/09/16 21:52, Nico Kadel-Garcia wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Can you use the much more recent gcc in the dev-toolset-4<br>
&gt;&gt;&gt; repositories, which is in turn enabled by the the centos-release-scl<br>
&gt;&gt;&gt; and centos-release-scl-rh packages? It would mean using a customized<br>
&gt;&gt;&gt; koji or mock setup and activating a BuildRequires<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; No, we have to use the same compiler used for building the kernel. [1] The<br>
&gt;&gt; only way is to get the patch from the gcc 4.9 branch backported (it seems<br>
&gt;&gt; small in the diff, but I don&#39;t know how much different were the code bases<br>
&gt;&gt; of 4.8 and 4.9 by that time).  Even then, having kernels older than 3.11 is<br>
&gt;&gt; likely to remain a problem, if we insist on choosing this route to the Guest<br>
&gt;&gt; Additions.<br>
&gt;&gt;<br>
&gt;&gt; I spent almost the entire last week investigating this, reading VirtualBox<br>
&gt;&gt; code and trying different things - probably a few days more in total, since<br>
&gt;&gt; I started.  I started reading Packer&#39;s intro Thursday evening, and the<br>
&gt;&gt; missing bits about its &quot;virtualbox-iso&quot; builder and the &quot;vagrant&quot;<br>
&gt;&gt; postprocessor the next morning. [2]  By the end of the day, I already had an<br>
&gt;&gt; automated, repeatable way of building Vagrant images for CentOS 6 and 7,<br>
&gt;&gt; based on our official kickstarts and our Netinstall ISOs, with the<br>
&gt;&gt; VirtualBox  Guest Additions preinstalled and fully working.  I&#39;m much more<br>
&gt;&gt; inclined to go this way.  I&#39;m not sure if it would be possible to use CBS,<br>
&gt;&gt; but I could use Jenkins to generate the images, by allocating a node to run<br>
&gt;&gt; VirtualBox and Packer natively. Would this be acceptable from others&#39;<br>
&gt;&gt; perspective?<br>
&gt;&gt;<br>
&gt;&gt; Would the SCL SIG be willing to also provide Packer, besides Vagrant?<br>
&gt;&gt; Right now, I&#39;m downloading the Packer binary directly from upstream; for<br>
&gt;&gt; production purposes, I&#39;d feel more comfortable with getting it from SCL.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Laurențiu<br>
&gt;&gt;<br>
&gt;&gt; [1]<br>
&gt;&gt; <a href="https://www.virtualbox.org/manual/ch12.html#ts_linux-kernelmodule-fails-to-load" target="_blank">https://www.virtualbox.org/man<wbr>ual/ch12.html#ts_linux-kernelm<wbr>odule-fails-to-load</a><br>
&gt;&gt; [2] <a href="https://en.wikipedia.org/wiki/Law_of_holes" target="_blank">https://en.wikipedia.org/wiki/<wbr>Law_of_holes</a><br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; CentOS-devel mailing list<br>
&gt;&gt; <a>CentOS-devel@centos.org</a><br>
&gt;&gt; <a href="https://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/centos-devel</a><br>
&gt;<br>
&gt;<br>
&gt; For what it&#39;s worth, we had been using Packer to build CentOS Vagrant boxes<br>
&gt; from the templates provided at <a href="https://github.com/chef/bento" target="_blank">https://github.com/chef/bento</a> until recently,<br>
&gt; as there wasn&#39;t an &#39;official&#39; CentOS box for the VMware provider. Since I am<br>
&gt; currently working on using Packer&#39;s vmware-vmx builder to repackage your new<br>
&gt; VMware box to include the VMware Tools (the VMware equivalent to the<br>
&gt; Virtualbox guest additions), I would be interested to know if you would<br>
&gt; pursue a similar approach (using Packer) for VMware?<br>
<br>
CentOS 7 ships open-vm-tools, so enabling the vmtoolsd unit should be enough.<br>
Or am I missing anything?<br>
<br>
&gt; I realise this is a bit off-topic for your current issue with Virtualbox,<br>
&gt; but it would be great to have the official CentOS Vagrant boxes well<br>
&gt; supported under both Virtualbox and VMware.<br>
&gt;<br>
&gt; Let me know what I can do to assist in this.<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; CentOS-devel mailing list<br>
&gt; <a>CentOS-devel@centos.org</a><br>
&gt; <a href="https://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/centos-devel</a><br>
&gt;<br>
______________________________<wbr>_________________<br>
CentOS-devel mailing list<br>
<a>CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">https://lists.centos.org/mailm<wbr>an/listinfo/centos-devel</a><br>
</blockquote><div><br></div><div>Including open-vm-tools in the box would be a necessary first step, but my experience is that it&#39;s still necessary to load the vmhgfs driver as well, in order to get shared folder support working. As discussed at <a href="https://kb.vmware.com/kb/2073804" target="_blank">https://kb.vmware.com/kb/<wbr>2073804</a>:</div><div><i><br></i></div><div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><i>- Why does an operating system release not include the <code style="padding:2px 4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">vmhgfs</code> driver?</i></span></font></div><div><span style="background-color:rgba(255,255,255,0);font-size:small"><i><br></i></span></div><div><i><font size="2"><span style="background-color:rgba(255,255,255,0)"></span></font><span style="background-color:rgba(255,255,255,0);font-size:small"><span></span>The </span><code style="padding:2px 4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">vmhgfs</code><span style="background-color:rgba(255,255,255,0);font-size:small"> driver has not been contributed upstream. To work around this situation, install VMware Tools bundled with the Workstation or Fusion products, which will install the missing </span><code style="padding:2px 4px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">vmhgfs</code><span style="background-color:rgba(255,255,255,0);font-size:small">drivers. The VMware Tools installer will not disturb inbox VMware drivers included in the OS.</span></i></div></div>