-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load the product configuration files #117
Load the product configuration files #117
Conversation
import glob | ||
|
||
RELEASE_STRING_FILE = "/etc/os-release" | ||
LICENSE_FILE_GLOB = "/usr/share/redhat-release*/EULA*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could find only /usr/share/redhat-release/EULA
on the installed system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, as far as I can tell this is the only file used these days, so should be correct. :)
20caaef
to
c802337
Compare
Tested with kickstart tests and a fake EULA. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me AFAICT.
Load the product configuration files to have the right defaults. Use the product name from the os-release files of the system environment. Simplify the product-related code.
c802337
to
b1ed608
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks a lot - a really nice cleanup as well! :)
import glob | ||
|
||
RELEASE_STRING_FILE = "/etc/os-release" | ||
LICENSE_FILE_GLOB = "/usr/share/redhat-release*/EULA*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, as far as I can tell this is the only file used these days, so should be correct. :)
Load the product configuration files to have the right defaults. Use
the product name from the os-release files of the system environment.
Simplify the product-related code.