https://wiki.centos.org/HowTos/NetworkInstallServer
I can't even get the first step complete. I found the rsync server I want to use.
[url]rsync://repos.lax.quadranet.com/centos/[/url]
I made the script as described in the tutorial.
Code: Select all
[root@lsvr cron.weekly]# cat update-centos
#!/bin/sh
# Replace this information with your mirror information
MIRROR=rsync://repos.lax.quadranet.com/centos
LOCALDIR=/var/www/html/centos/6.9
for i in os updates; do
rsync -aH $MIRROR/$i $LOCALDIR
done
I keep getting this error:
Code: Select all
rsync: link_stat "/os" (in centos) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [receiver=3.0.6]
rsync: link_stat "/updates" (in centos) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1505) [receiver=3.0.6]