#397 fix: Installing enhanced networking kernel driver using DKMS fails in stretch

This commit is contained in:
Jose Porcel 2017-09-15 17:03:05 +01:00
parent 56b95924de
commit b2cc807475

View file

@ -87,6 +87,11 @@ class InstallEnhancedNetworking(Task):
@classmethod
def run(cls, info):
from bootstrapvz.common.releases import stretch
if info.manifest.release >= stretch:
version = '4.2.1'
drivers_url = 'https://downloadmirror.intel.com/18700/eng/ixgbevf-4.2.1.tar.gz'
else:
version = '3.2.2'
drivers_url = 'https://downloadmirror.intel.com/26561/eng/ixgbevf-3.2.2.tar.gz'
# Sadly the first number in the URL changes: