Skip to content

Commit ee2e11d

Browse files
authored
Merge pull request #1909 from oracle/fixmiidoc
updating imagetool command in mii doc to use the chown option
2 parents 6135ce7 + fd86307 commit ee2e11d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

docs-source/content/samples/simple/domains/model-in-image/initial.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ Now, you use the Image Tool to create an image named `model-in-image:WLS-v1` tha
263263

264264
Run the following commands to create the model image and verify that it worked:
265265

266+
{{% notice note %}}
267+
If you are taking the `JRF` path through the sample, then remove `--chown oracle:root` from the `imagetool.sh` command below.
268+
{{% /notice %}}
266269
```
267270
$ cd /tmp/mii-sample/model-images
268271
$ ./imagetool/bin/imagetool.sh update \
@@ -272,7 +275,8 @@ Run the following commands to create the model image and verify that it worked:
272275
--wdtVariables ./model-in-image__WLS-v1/model.10.properties \
273276
--wdtArchive ./model-in-image__WLS-v1/archive.zip \
274277
--wdtModelOnly \
275-
--wdtDomainType WLS
278+
--wdtDomainType WLS \
279+
--chown oracle:root
276280
```
277281

278282
If you don't see the `imagetool` directory, then you missed a step in the [prerequisites]({{< relref "/samples/simple/domains/model-in-image/prerequisites.md" >}}).

docs-source/content/samples/simple/domains/model-in-image/update3.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ Here are the steps for this use case:
9393
Now, you use the Image Tool to create an image named `model-in-image:WLS-v2` that's layered on a base WebLogic image. You've already set up this tool during the prerequisite steps.
9494
9595
Run the following commands to create the model image and verify that it worked:
96-
96+
97+
{{% notice note %}}
98+
If you are taking the `JRF` path through the sample, then remove `--chown oracle:root` from the `imagetool.sh` command below.
99+
{{% /notice %}}
100+
97101
```
98102
$ cd /tmp/mii-sample/model-images
99103
$ ./imagetool/bin/imagetool.sh update \
@@ -103,7 +107,8 @@ Here are the steps for this use case:
103107
--wdtVariables ./model-in-image__WLS-v2/model.10.properties \
104108
--wdtArchive ./model-in-image__WLS-v2/archive.zip \
105109
--wdtModelOnly \
106-
--wdtDomainType WLS
110+
--wdtDomainType WLS \
111+
--chown oracle:root
107112
```
108113
109114
If you don't see the `imagetool` directory, then you missed a step in the [prerequisites]({{< relref "/samples/simple/domains/model-in-image/prerequisites.md" >}}).

0 commit comments

Comments
 (0)