This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tasks:lab-extras [2017/01/25 17:05] dgalloway [Managing packages in lab-extras] |
tasks:lab-extras [2021/03/20 00:15] (current) djgalloway [How-To] |
||
---|---|---|---|
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'' | ||
- | - scp the package to the appropriate dir in ''gitbuilder.ceph.com:/home/apt-mirror/mirror/lab-extras/'' | + | - ''%%rsync -azvP --rsync-path='sudo rsync' package.rpm gitbuilder.ceph.com:/home/apt-mirror/mirror/lab-extras/centos7/x86_64/%%'' |
- ''ssh gitbuilder.ceph.com'' | - ''ssh gitbuilder.ceph.com'' | ||
- ''createrepo %%--%%update /home/apt-mirror/mirror/lab-extras/centos7/'' | - ''createrepo %%--%%update /home/apt-mirror/mirror/lab-extras/centos7/'' |