Skip to content

Added support for installing intel products using serial numbers#1452

Merged
boegel merged 3 commits intoeasybuilders:developfrom
damianam:intelbase_serial_number
Jul 6, 2018
Merged

Added support for installing intel products using serial numbers#1452
boegel merged 3 commits intoeasybuilders:developfrom
damianam:intelbase_serial_number

Conversation

@damianam
Copy link
Copy Markdown
Member

@damianam damianam commented Jul 5, 2018

No description provided.


# if we have multiple retained lic specs, specify to 'use a license which exists on the system'
if len(lic_specs) > 1:
self.log.debug("More than one license specs found, using '%s' license activation instead of '%s'",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (122 > 120 characters)

self.log.info("Using Intel license specifications from 'license_file': %s", lic_specs)
self.license_env_var = default_lic_env_var
else:
self.log.info("Using Intel license specifications from $%s: %s", self.license_env_var, lic_specs)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (121 > 120 characters)

@boegel boegel added this to the 3.6.2 milestone Jul 5, 2018
if self.serial_number:
self.log.info("Using provided serial number (%s) and ignoring other licenses", self.serial_number)
else:
if self.requires_runtime_license:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@damianam this could be an elif (which also avoids all the extra indentation)?

elif self.requires_runtime_license:
    ...

Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegel
Copy link
Copy Markdown
Member

boegel commented Jul 6, 2018

Thanks @damianam!

@boegel boegel merged commit 10baf96 into easybuilders:develop Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants