<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">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/#/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.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</a>><br>
><br>
><br>
> [2] - <a href="https://review.openstack.org/#/c/502313/" rel="noreferrer" target="_blank">https://review.openstack.org/#/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.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</a>><br>
><br>
><br>
><br>
><br>
> __________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div><div dir="ltr">-- <br></div><div class="gmail_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="inbox-gc-number-2" class="inbox-gc-cs-link" title="Call with Google Voice">704.236.9385</span></div><div><br></div></div></div>