========================================================================
Transition from anaconda-server-sync-conda to anaconda-mirror (AER 2.28)
========================================================================

.. raw:: html

    <div class="section" id="configuration-file-key-change">
    <h2>Configuration file key change<a class="headerlink" href="#configuration-file-key-change" title="Permalink to this headline">¶</a></h2>
    <p>The key to specify the package white list has changed from <code class="docutils literal"><span class="pre">pkg_list</span></code> to
    <code class="docutils literal"><span class="pre">package_list</span></code>.</p>
    </div>
    <div class="section" id="how-to-mirror-to-an-air-gapped-environment">
    <h2>How to mirror to an air-gapped environment<a class="headerlink" href="#how-to-mirror-to-an-air-gapped-environment" title="Permalink to this headline">¶</a></h2>
    <p>To use <code class="docutils literal"><span class="pre">anaconda-mirror</span></code> in an air-gapped environment, export
    a mirror tarball from the source server and import it to the
    air-gapped server.</p>
    <p>Export a mirror:</p>
    <div class="highlight-python"><div class="highlight"><pre><span></span>anaconda-mirror export mirror.tar
    </pre></div>
    </div>
    <p>Import it to another environment:</p>
    <div class="highlight-python"><div class="highlight"><pre><span></span>anaconda-mirror import $USB/mirror.tar
    </pre></div>
    </div>
    <p>If you need to specify a custom configuration file, use any of the commands with <code class="docutils literal"><span class="pre">--config-file</span> <span class="pre">FILENAME</span></code>:</p>
    <div class="highlight-python"><div class="highlight"><pre><span></span>anaconda-mirror import --config-file FILENAME $USB/mirror.tar
    </pre></div>
    </div>
    <p>The <a class="reference internal" href="mirrors-sync-configuration.html"><em>configuration docs</em></a> have more detail on the configuration.</p>
    </div>
