Use wwctl container import --password by default
Retains support for --passwd as a hidden flag targeting the same variable. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -91,10 +91,10 @@ Here are the environmental variables that can be used.
|
||||
WAREWULF_OCI_PASSWORD
|
||||
WAREWULF_OCI_NOHTTPS
|
||||
|
||||
They can be overwritten with ``--nohttps``, ``--username`` and ``--passwd``.
|
||||
They can be overwritten with ``--nohttps``, ``--username`` and ``--password``.
|
||||
.. code-block:: console
|
||||
|
||||
# wwctl import --username tux --passwd supersecret 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
|
||||
|
||||
Reference in New Issue
Block a user