Skip to content

Commit

Permalink
rpm-ostree
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzheng422 committed Dec 8, 2022
1 parent 6fc217c commit b6736b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions redhat/ocp4/4.10/4.10.replace.coreos.rhel.9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,14 @@ oc create --save-config -f ~/wzh/disk.fix.sub.yaml

oc delete -f ~/wzh/disk.fix.sub.yaml

```

## fix image mirror

```bash
cd /data/ocp4
bash image.registries.conf.sh nexus.casa.wzhlab.top:8083


```

Expand Down
2 changes: 1 addition & 1 deletion redhat/ocp4/4.10/4.10.rpm-ostree.install.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rhcos / coreos install rpm using rpm-ostree | 给 rhcos / coreos 安装 rpm
# rhcos / coreos install rpm using rpm-ostree | 给 rhcos / coreos 安装 rpm包

⚠️注意,本文所述操作,涉及更改 openshift 4 底层操作系统 rhcos,这有可能导致失去红帽支持资格,具体的情况,请和对口的红帽 GPS 团队沟通, 或者联系红帽 CEE 团队确认。

Expand Down
3 changes: 2 additions & 1 deletion redhat/ocp4/4.11/4.11.helper.node.oc.mirror.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ rm -f nexus-image.tgz*
chown -R 200 /data/ccn/nexus-image

## run the nexus for image
podman run -d -p 8082:8081 -p 8083:8083 -it --name nexus-image -v /data/ccn/nexus-image:/nexus-data:Z docker.io/sonatype/nexus3:3.38.1
podman run -d -p 8082:8081 -p 8083:8083 -it --name nexus-image 09f6f629cf58 -v /data/ccn/nexus-image:/nexus-data:Z docker.io/sonatype/nexus3:3.38.1
# podman run -d -p 8082:8081 -p 8083:8083 -it --name nexus-image --privileged --cap-add all -v /home/ccn/nexus-image:/nexus-data:Z docker.io/sonatype/nexus3:3.38.1
# podman run -d -p 8082:8081 -p 8083:8083 -it --name nexus-image -v /data/ccn/nexus-image:/nexus-data:Z docker.io/sonatype/nexus3:3.33.1

podman generate systemd --files --name nexus-image
Expand Down

0 comments on commit b6736b0

Please sign in to comment.