Repository navigation
Some best-practices updates to the kickstart script - #3691
Conversation
|
Refer to this link for build results (access rights to CI server needed): |
d33aa91 to
369897c
Compare
|
Refer to this link for build results (access rights to CI server needed): |
369897c to
f12ce64
Compare
|
Refer to this link for build results (access rights to CI server needed): |
rawlinp
left a comment
There was a problem hiding this comment.
This one's getting there, but the spaces between between print and (...) like print (...) are weirding me out.
|
Refer to this link for build results (access rights to CI server needed): |
What does this PR (Pull Request) do?
This PR makes some best-practices updates to the script responsible for generating the "network line" for kickstart ISO creation. Puts parenthesis around
printstatement args, better implementation ofstr.formatandstr.join, replaces a check for identity equality with the proper check for value equality, removed an unused variable, checking for presence of a member of aset/dictwithin/not ininstead of deprecated methods and/or weird argument nesting, etc.Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Generate an ISO through a Traffic Ops instance that has the new version of the script, verify that it comes out correctly. The script has no tests, but you could also just check the output using Docker or a VM.
The following criteria are ALL met by this PR