Merge pull request #398 from jmporcelg/issue-397

#397 fix: Installing networking kernel driver using DKMS fails in stretch
This commit is contained in:
Anders Ingemann 2017-09-21 08:03:24 +02:00 committed by GitHub
commit 58cd2facaf

View file

@ -87,6 +87,11 @@ class InstallEnhancedNetworking(Task):
@classmethod @classmethod
def run(cls, info): 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' version = '3.2.2'
drivers_url = 'https://downloadmirror.intel.com/26561/eng/ixgbevf-3.2.2.tar.gz' drivers_url = 'https://downloadmirror.intel.com/26561/eng/ixgbevf-3.2.2.tar.gz'
# Sadly the first number in the URL changes: # Sadly the first number in the URL changes: