Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-2416

ilab script should pass proxy vars by default

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Goal: 

      As an end-user, I want to have ilab model download and other commands automatically use proxy settings from the bootc shell.
       
      Acceptance Criteria:

      The ilab script should automatically pass proxy enc vars from the shell in bootc into the InstructLab app container. podman run already passes these env vars from the host system into the container by default. We need to include the env vars in PRESERVE_ENV so sudo passes them from the user's env to podman.

      https://docs.podman.io/en/v5.1.1/markdown/podman-run.1.html

      By default proxy environment variables are passed into the container if set for the Podman process. This can be disabled by setting the value to false. The environment variables passed in include http_proxy, https_proxy, ftp_proxy, no_proxy, and also the upper case versions of those.

      Env vars are:

      • http_proxy
      • https_proxy
      • no_proxy
      • HTTP_PROXY
      • HTTPS_PROXY
      • NO_PROXY

              cheimes@redhat.com Christian Heimes
              cheimes@redhat.com Christian Heimes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: