Uploaded image for project: 'Red Hat Insights Engineering'
  1. Red Hat Insights Engineering
  2. RHINENG-10458

Write environment variables for convert2rhel in the config file

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Conversions

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      Currently, we are getting the environment variables that come from the worker, and exporting them to the convert2rhel cli subprocess. With the linked epic, we will have to change this behavior to start writing the environment variables to a config file.

       

      Goal: 

      • Parse the environment variable specific for convert2rhel that comes from the worker, and write it to the convert2rhel config file.
      • Use the configparser module from python to parse and write the config

      Acceptance Criteria:

      • The convert2rhel config file located at /etc/convert2rhel.ini has all convert2rhel environment variables set with their corresponding values

              Unassigned Unassigned
              rolivier@redhat.com Rodolfo Olivieri
              Michal Bocek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: