~/repos was a symlink and an unnecessary extra step. If the true path
were to change, either this file or the symlink would need to change
anyway.
The 'signer' user does not have sudo access. 'dhc-user' was the legacy
user from when download.ceph.com was hosted in DreamCompute.
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph_sync() {
release=$1
- deb_cmd="/opt/repos/ceph/$release/debian/jessie/* dhc-user@download.ceph.com:/home/dhc-user/repos/debian-$release/"
+ deb_cmd="/opt/repos/ceph/$release/debian/jessie/* signer@download.ceph.com:/data/download.ceph.com/www/debian-$release/"
rsync --progress -avr $deb_cmd
- el6_cmd="/opt/repos/ceph/$release/centos/6/* dhc-user@download.ceph.com:/home/dhc-user/repos/rpm-$release/el6/"
- el7_cmd="/opt/repos/ceph/$release/centos/7/* dhc-user@download.ceph.com:/home/dhc-user/repos/rpm-$release/el7/"
+ el6_cmd="/opt/repos/ceph/$release/centos/6/* signer@download.ceph.com:/data/download.ceph.com/www/rpm-$release/el6/"
+ el7_cmd="/opt/repos/ceph/$release/centos/7/* signer@download.ceph.com:/data/download.ceph.com/www/rpm-$release/el7/"
rsync --progress -avr $el6_cmd
rsync --progress -avr $el7_cmd
}