Skip to content

Commit

Permalink
Update v4.5.x docs
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 4, 2024
1 parent 7d908b4 commit 06c96aa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
11 changes: 4 additions & 7 deletions static/docs/v4.5.x/_sources/contents/containers.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,15 @@ Here are the environmental variables that can be used.
WAREWULF_OCI_PASSWORD
WAREWULF_OCI_NOHTTPS
Here is an example:

They can be overwritten with ``--nohttps``, ``--username`` and ``--password``.
.. code-block:: console
# export WAREWULF_OCI_USERNAME=privateuser
# export WAREWULF_OCI_PASSWORD=super-secret-password-or-token
# wwctl import docker://ghcr.io/privatereg/rocky:8
# wwctl import --username tux --password supersecret docker://ghcr.io/privatereg/rocky:8
The above is just an example. Consideration should be done before
doing it this way if you are in a security sensitive environment or
shared environments. You would not want these showing up in bash
history or logs.
shared environments as this command line wil show up in the process
table.

Local Files
-----------
Expand Down
15 changes: 7 additions & 8 deletions static/docs/v4.5.x/contents/containers.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,16 +213,15 @@ <h3>Private Registry<a class="headerlink" href="#private-registry" title="Link t
<span class="go">WAREWULF_OCI_NOHTTPS</span>
</pre></div>
</div>
<p>Here is an example:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp"># </span><span class="nb">export</span><span class="w"> </span><span class="nv">WAREWULF_OCI_USERNAME</span><span class="o">=</span>privateuser
<span class="gp"># </span><span class="nb">export</span><span class="w"> </span><span class="nv">WAREWULF_OCI_PASSWORD</span><span class="o">=</span>super-secret-password-or-token
<span class="gp"># </span>wwctl<span class="w"> </span>import<span class="w"> </span>docker://ghcr.io/privatereg/rocky:8
</pre></div>
</div>
<p>They can be overwritten with <code class="docutils literal notranslate"><span class="pre">--nohttps</span></code>, <code class="docutils literal notranslate"><span class="pre">--username</span></code> and <code class="docutils literal notranslate"><span class="pre">--password</span></code>.
.. code-block:: console</p>
<blockquote>
<div><p># wwctl import –username tux –password supersecret docker://ghcr.io/privatereg/rocky:8</p>
</div></blockquote>
<p>The above is just an example. Consideration should be done before
doing it this way if you are in a security sensitive environment or
shared environments. You would not want these showing up in bash
history or logs.</p>
shared environments as this command line wil show up in the process
table.</p>
</section>
<section id="local-files">
<h3>Local Files<a class="headerlink" href="#local-files" title="Link to this heading"></a></h3>
Expand Down
2 changes: 1 addition & 1 deletion static/docs/v4.5.x/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 06c96aa

Please sign in to comment.