Uploaded image for project: 'Agent-based Installer for OpenShift'
  1. Agent-based Installer for OpenShift
  2. AGENT-265

Fully support the --dir option

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Agent Sprint 222

      We currently don't support the --dir flag to openshift-install. Previously this was partly due to not loading files as assets. Now the principal remaining culprit is outputting the agent ISO, which is too large to be returned from Files() (which contains a []byte) so that the entire contents are stored in memory, and also written to the asset store.

      A couple of proposals for fixes exist:

      Once this is done, we can test it by cleaning up to dev-scripts code to use the flag instead of changing the working directory: https://github.com/openshift-metal3/dev-scripts/blame/master/agent/05_agent_create_cluster.sh#L19-L23

            afasano@redhat.com Andrea Fasano
            zabitter Zane Bitter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: