Fix stretch ENA install

Intel broke the 4.3.4 URL version with their latest push of 4.3.5
This commit is contained in:
Kirk Hansen 2018-06-14 10:18:47 -05:00
parent 8287a64d3a
commit ad02412b96

View file

@ -89,9 +89,12 @@ class InstallEnhancedNetworking(Task):
@classmethod
def run(cls, info):
from bootstrapvz.common.releases import stretch
# It appears the latest version will always get a prefix of 18700.
# Once a new version is released, the url int prefix will change (no redirects)
# to something above the 2nd most recent release. You've been warned.
if info.manifest.release >= stretch:
version = '4.3.4'
drivers_url = 'https://downloadmirror.intel.com/18700/eng/ixgbevf-4.3.4.tar.gz'
drivers_url = 'https://downloadmirror.intel.com/27874/eng/ixgbevf-4.3.4.tar.gz'
else:
version = '3.2.2'
drivers_url = 'https://downloadmirror.intel.com/26561/eng/ixgbevf-3.2.2.tar.gz'