<div dir="ltr"><div><div>If you need a guideline about how to build TripleO images with DIB, i have that blogpost: <a href="http://teknoarticles.blogspot.com.es/2017/07/build-and-use-security-hardened-images.html">http://teknoarticles.blogspot.com.es/2017/07/build-and-use-security-hardened-images.html</a><br><br></div>This if for security hardened images, but your replace "overcloud-hardened-images" by "overcloud-images", it will build the default one. You can specify the base image you want to use, as well as enable any repo you have, that may take the latest kernel.<br><br></div>Hope it helps!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 5:21 PM, Brad P. Crochet <span dir="ltr"><<a href="mailto:brad@redhat.com" target="_blank">brad@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 dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 26, 2017 at 2:58 PM Ben Nemec <<a href="mailto:openstack@nemebean.com" target="_blank">openstack@nemebean.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 09/26/2017 05:43 AM, Moshe Levi wrote:<br>
> Hi all,<br>
><br>
> As part of the OVS Hardware Offload [1] [2],  we need to create new<br>
> Centos/Redhat 7 image  with latest kernel/ovs/iproute.<br>
><br>
> We tried to use virsh-customize to install the packages and we were able<br>
> to update iproute and ovs, but for the kernel there is no space.<br>
><br>
> We also tried with virsh-customize to uninstall the old kenrel but we no<br>
> luck.<br>
><br>
> Is other ways to replace kernel  package in existing image?<br>
<br>
Do you have to use an existing image?  The easiest way to do this would<br>
be to create a DIB element that installs what you want and just include<br>
that in the image build in the first place.  I don't think that would be<br>
too difficult to do now that we're keeping the image definitions in<br>
simple YAML files.<br>
<br></blockquote><div><br></div><div>If it is just packages, a DIB element wouldn't even be necessary. You could define a new yaml that just adds the packages that you want, and add that to the CLI when you build the images.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
> [1] - <a href="https://review.openstack.org/#/c/504911/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/504911/</a><br>
> <<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F504911%2F&data=02%7C01%7Cmoshele%40mellanox.com%7Cc801dab0778b428e226508d504c97ecf%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636420185839119329&sdata=6oEmh0LJacV3WPGGp3wW%2BhL3nPDxRh%2BzNPY67X09Blc%3D&reserved=0" rel="noreferrer" target="_blank">https://emea01.safelinks.<wbr>protection.outlook.com/?url=<wbr>https%3A%2F%2Freview.<wbr>openstack.org%2F%23%2Fc%<wbr>2F504911%2F&data=02%7C01%<wbr>7Cmoshele%40mellanox.com%<wbr>7Cc801dab0778b428e226508d504c9<wbr>7ecf%<wbr>7Ca652971c7d2e4d9ba6a4d149256f<wbr>461b%7C0%7C0%<wbr>7C636420185839119329&sdata=<wbr>6oEmh0LJacV3WPGGp3wW%<wbr>2BhL3nPDxRh%2BzNPY67X09Blc%3D&<wbr>reserved=0</a>><br>
><br>
><br>
> [2] - <a href="https://review.openstack.org/#/c/502313/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/502313/</a><br>
> <<a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.openstack.org%2F%23%2Fc%2F502313%2F&data=02%7C01%7Cmoshele%40mellanox.com%7Cc801dab0778b428e226508d504c97ecf%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636420185839119329&sdata=EsydZ9EsUjkYcF92Gys569SJEvQ%2B%2Fu6uV8WAQJ0YMfc%3D&reserved=0" rel="noreferrer" target="_blank">https://emea01.safelinks.<wbr>protection.outlook.com/?url=<wbr>https%3A%2F%2Freview.<wbr>openstack.org%2F%23%2Fc%<wbr>2F502313%2F&data=02%7C01%<wbr>7Cmoshele%40mellanox.com%<wbr>7Cc801dab0778b428e226508d504c9<wbr>7ecf%<wbr>7Ca652971c7d2e4d9ba6a4d149256f<wbr>461b%7C0%7C0%<wbr>7C636420185839119329&sdata=<wbr>EsydZ9EsUjkYcF92Gys569SJEvQ%<wbr>2B%2Fu6uV8WAQJ0YMfc%3D&<wbr>reserved=0</a>><br>
><br>
><br>
><br>
><br>
> ______________________________<wbr>______________________________<wbr>______________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
><br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div class="m_-7146120708100426199gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Brad P. Crochet, RHCA, RHCE, RHCVA, RHCDS</div><div>Principal Software Engineer</div><div>(c) <span id="m_-7146120708100426199inbox-gc-number-2" class="m_-7146120708100426199inbox-gc-cs-link" title="Call with Google Voice"><a href="tel:(704)%20236-9385" value="+17042369385" target="_blank">704.236.9385</a></span></div><div><br></div></div></div>
</font></span><br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="font-weight:bold;margin:0;padding:0;font-size:14px;text-transform:uppercase;margin-bottom:0"><span>Yolanda</span> <span>Robla Mota</span></p>
<p style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>Principal Software Engineer</span><span style="color:rgb(204,204,204)">, <span style="font-weight:normal;color:#aaa;margin:0">RHCE</span></span></p>
<p style="font-weight:normal;margin:0;font-size:10px;color:#999"><a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br><br></span></a></p>
<span style="font-size:10px;margin:0px;color:rgb(153,153,153)"><p style="font-size:10px;margin:0">C/Avellana 213</p></span>
<span><p style="font-size:10px;margin:0;color:#999">Urb Portugal</p></span>
<p style="font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px">
<a style="color:#0088ce;font-size:10px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" href="mailto:yroblamo@redhat.com" target="_blank">yroblamo@redhat.com</a>   </span>
<span href="tel:+34605641639">M: <a href="http://redhatemailsignature-marketing.itos.redhat.com/" style="color:#0088ce;font-size:11px;margin:0;text-decoration:none;font-family:'overpass',sans-serif" target="_blank">+34605641639</a>     </span>
</p>
<a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></div></div></div></div></div></div>
</div>