Merge pull request #743 from anderbubble/732-documentation-ghcr
This commit is contained in:
@@ -15,7 +15,7 @@ curl --cacert /usr/local/etc/warewulf/keys/cacert.pem \
|
||||
curl http://localhost:9871/v1/container
|
||||
|
||||
# container import
|
||||
curl -d '{"source": "docker://warewulf/rocky:8", "name": "rocky-8", "update": true, "default": true}' -H "Content-Type: application/json" -X POST http://localhost:9871/v1/container
|
||||
curl -d '{"source": "docker://ghcr.io/hpcng/warewulf-rockylinux:8", "name": "rocky-8", "update": true, "default": true}' -H "Content-Type: application/json" -X POST http://localhost:9871/v1/container
|
||||
|
||||
# container delete
|
||||
curl -X DELETE http://localhost:9871/v1/container?containerNames=rocky-8
|
||||
@@ -54,4 +54,4 @@ curl http://localhost:9871/v1/nodestatus?nodeNames=testApiNode0
|
||||
|
||||
# node delete single node
|
||||
curl -X DELETE http://localhost:9871/v1/node?nodeNames=testApiNode0
|
||||
curl -X DELETE http://localhost:9871/v1/node?nodeNames=testApiNode1
|
||||
curl -X DELETE http://localhost:9871/v1/node?nodeNames=testApiNode1
|
||||
|
||||
@@ -16,7 +16,7 @@ are:
|
||||
* /path/to/archive/tar/ball
|
||||
* /path/to/chroot/
|
||||
Imported containers are used to create bootable VNFS images.`,
|
||||
Example: "wwctl container import docker://warewulf/centos-8 my_container",
|
||||
Example: "wwctl container import docker://ghcr.io/hpcng/warewulf-rockylinux:8 rockylinux-8",
|
||||
RunE: CobraRunE,
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ Here is an example of importing from Docker Hub.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# wwctl container import docker://warewulf/rocky rocky-8
|
||||
# wwctl container import docker://ghcr.io/hpcng/warewulf-rockylinux:8 rocky-8
|
||||
Getting image source signatures
|
||||
Copying blob d7f16ed6f451 done
|
||||
Copying config da2ca70704 done
|
||||
|
||||
@@ -102,7 +102,7 @@ Build and install Warewulf on wwdev
|
||||
sudo wwctl configure ssh # Build the basic ssh keys to be included by the default system overlay
|
||||
|
||||
# Pull and build the VNFS container and kernel
|
||||
sudo wwctl container import docker://warewulf/centos-8 centos-8 --setdefault
|
||||
sudo wwctl container import docker://ghcr.io/hpcng/warewulf-centos:7 centos-7 --setdefault
|
||||
sudo wwctl kernel import build $(uname -r) --setdefault
|
||||
|
||||
# Set up the default node profile
|
||||
|
||||
@@ -117,7 +117,7 @@ I have VirtualBox running on my desktop.
|
||||
sudo wwctl configure ssh --persist # Build the basic ssh keys to be included by the default system overlay
|
||||
|
||||
# Pull and build the VNFS container and kernel
|
||||
sudo wwctl container import docker://warewulf/centos-7 centos-7 --setdefault
|
||||
sudo wwctl container import docker://ghcr.io/hpcng/warewulf-centos:7 centos-7 --setdefault
|
||||
sudo wwctl kernel import build $(uname -r) --setdefault
|
||||
|
||||
# Set up the default node profile
|
||||
|
||||
@@ -103,7 +103,7 @@ default running kernel from the controller node and set both in the
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo wwctl container import docker://warewulf/centos-7 centos-7 --setdefault
|
||||
sudo wwctl container import docker://ghcr.io/hpcng/warewulf-centos:7 centos-7 --setdefault
|
||||
sudo wwctl kernel import $(uname -r) --setdefault
|
||||
|
||||
Set up the default node profile
|
||||
|
||||
@@ -105,7 +105,7 @@ default running kernel from the controller node and set both in the
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo wwctl container import docker://warewulf/rocky:8 rocky-8
|
||||
sudo wwctl container import docker://ghcr.io/hpcng/warewulf-rockylinux:8 rocky-8
|
||||
|
||||
|
||||
Set up the default node profile
|
||||
|
||||
Reference in New Issue
Block a user