Skip to content

Commit edea9a1

Browse files
authored
Merge pull request #54001 from bergerhoffer/OSDOCS-4298-relative-path
OSDOCS-4298: Updating to allow relative path
2 parents 5cd39b8 + 8f0a2f3 commit edea9a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/oc-mirror-oci-format.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ The `storageConfig` setting is ignored in favor of the location passed in to the
4949
$ oc mirror --config=./imageset-config.yaml \ <1>
5050
--use-oci-feature \ <2>
5151
--oci-feature-action=copy \ <3>
52-
oci:///home/user/oc-mirror/my-oci-catalog <4>
52+
oci://my-oci-catalog <4>
5353
----
5454
<1> Pass in the image set configuration file. This procedure assumes that it is named `imageset-config.yaml`.
5555
<2> Use the `--use-oci-feature` flag to enable the OCI feature.
5656
<3> To copy the catalog to disk, set the `--oci-feature-action` flag to `copy`.
57-
<4> Specify the full path to a directory on disk where you want to output the catalog. The path must start with `oci://`. This procedure assumes that the directory is named `my-oci-catalog`.
57+
<4> Specify a directory on disk where you want to output the catalog. This procedure assumes that it is named `my-oci-catalog`. The path must start with `oci://`. If the specified directory is not a full path, the directory is created in the current working directory where the `oc mirror` command is run.
5858
+
5959
[NOTE]
6060
====

0 commit comments

Comments
 (0)