Do not install linux-image-extra by default

In Ubuntu 14.04, the kernel shipped was lightweight, and some
extra features like using vhost_net, required the package
linux-image-extra.

In Ubuntu 16.04 and above, this is not the case anymore,
as many kernel packages ship with extra features.

vhost_net is generally shipped with the kernel package nowadays
and was the only one documented for the addition of the
linux-image-extra into our roles.

Change-Id: I70fa446c2dd00e12702280388299d189e0f3e5c4
Depends-On: https://review.openstack.org/#/c/585376/
Closes-Bug: 1783342
(cherry picked from commit 8913620375)
This commit is contained in:
Jean-Philippe Evrard 2018-07-24 16:33:32 +02:00 committed by Jesse Pretorius (odyssey4me)
parent 360c14cffc
commit ebe805f228
2 changed files with 6 additions and 1 deletions

View File

@ -57,6 +57,12 @@ Configure the operating system (Ubuntu)
# apt-get install bridge-utils debootstrap ifenslave ifenslave-2.6 \
lsof lvm2 ntp ntpdate openssh-server sudo tcpdump vlan
#. Install the kernel extra package if you have one for your kernel version \
.. code-block:: shell-session
# apt install linux-image-extra-$(uname -r)
#. Add the appropriate kernel modules to the ``/etc/modules`` file to
enable VLAN and bond interfaces:

View File

@ -23,7 +23,6 @@ packages_install:
- iptables
- iputils-tracepath
- ipython
- linux-image-extra-{{ ansible_kernel }}
- lvm2
- parted
- python2.7