Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11785

Allow passing environment variables in install script

    XMLWordPrintableJSON

Details

    Description

      In order to connect to an SFTP, we included configuration of that in a file with environment variables for the VM that runs nifi. We use scripts to configure the vm, and these scripts source that file.

      I know we can access environment variables in nifi using EL, but we don't have a way to pass these environment variables to the service definition. There should be an option in the `nifi.sh install `command, something like `nifi.sh install -e URL=https://example.com` which then includes this env var in the service definition.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbylemans Sander Bylemans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: