Skip to content

Commit c1636be

Browse files
incorporating Tom's review comments
1 parent 25b7df9 commit c1636be

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ Now, you use the Image Tool to create an image named `model-in-image:WLS-v1` tha
264264
Run the following commands to create the model image and verify that it worked:
265265
Note: If you are creating a WebLogic model-in-image, add --chown oracle:root to imagetool.sh command. When creating FMW Infrastructure images, do not use the --chown option.
266266

267+
{{% notice note %}}
268+
If you are taking the JRF path through the sample, then remove --chown oracle:root from the imagetool.sh command below.
269+
{% /notice %}}
267270
```
268271
$ cd /tmp/mii-sample/model-images
269272
$ ./imagetool/bin/imagetool.sh update \
@@ -274,6 +277,7 @@ Note: If you are creating a WebLogic model-in-image, add --chown oracle:root to
274277
--wdtArchive ./model-in-image__WLS-v1/archive.zip \
275278
--wdtModelOnly \
276279
--wdtDomainType WLS
280+
--chown oracle:root
277281
```
278282

279283
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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ 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-
Note: If you are creating a WebLogic model-in-image, add --chown oracle:root to imagetool.sh command. When creating FMW Infrastructure images, do not use the --chown option.
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 %}}
97100
98101
```
99102
$ cd /tmp/mii-sample/model-images
@@ -104,7 +107,8 @@ Here are the steps for this use case:
104107
--wdtVariables ./model-in-image__WLS-v2/model.10.properties \
105108
--wdtArchive ./model-in-image__WLS-v2/archive.zip \
106109
--wdtModelOnly \
107-
--wdtDomainType WLS
110+
--wdtDomainType WLS \
111+
--chown oracle:root
108112
```
109113
110114
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)