This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
tasks:lab-extras [2021/03/20 00:15] djgalloway [How-To] |
tasks:lab-extras [2026/03/07 01:22] (current) dmick Change to reflect apt-mirror service on openshift |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| - Obtain the RPM from a trusted source | - Obtain the RPM from a trusted source | ||
| - e.g., ''yum install $package %%--%%downloadonly %%--%%downloaddir=/root'' | - e.g., ''yum install $package %%--%%downloadonly %%--%%downloaddir=/root'' | ||
| - | - ''%%rsync -azvP --rsync-path='sudo rsync' package.rpm gitbuilder.ceph.com:/home/apt-mirror/mirror/lab-extras/centos7/x86_64/%%'' | + | - serve it from http: accessible from the POK lab (say, on soko04, with "python3 -m http.server") |
| - | - ''ssh gitbuilder.ceph.com'' | + | - read https://github.com/ceph/sepia-openshift/blob/main/apt-mirror/README.rst and follow the procedure there to update the repo in question |
| - | - ''createrepo %%--%%update /home/apt-mirror/mirror/lab-extras/centos7/'' | + | |
| ===== Installing the package ===== | ===== Installing the package ===== | ||