mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Merge pull request #398 from jmporcelg/issue-397
#397 fix: Installing networking kernel driver using DKMS fails in stretch
This commit is contained in:
commit
58cd2facaf
1 changed files with 7 additions and 2 deletions
|
@ -87,8 +87,13 @@ class InstallEnhancedNetworking(Task):
|
|||
|
||||
@classmethod
|
||||
def run(cls, info):
|
||||
version = '3.2.2'
|
||||
drivers_url = 'https://downloadmirror.intel.com/26561/eng/ixgbevf-3.2.2.tar.gz'
|
||||
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:
|
||||
# 2.16.1 => https://downloadmirror.intel.com/25464/eng/ixgbevf-2.16.1.tar.gz
|
||||
archive = os.path.join(info.root, 'tmp', 'ixgbevf-%s.tar.gz' % (version))
|
||||
|
|
Loading…
Add table
Reference in a new issue