Permalink
Browse files

change baseurl.

  • Loading branch information...
1 parent 800ad04 commit fc3b8d679c6af4b3b80c0447f77899a6a29f60f3 @hansode committed Apr 23, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 kvm/rhel/build-rootfs-tree.sh
@@ -34,17 +34,16 @@ esac
case ${dist} in
centos)
dist_snake=CentOS
- ### centos ###
- baseurl=http://srv2.ftp.ne.jp/Linux/packages/${dist_snake}/${ver}/os/${arch}
+ baseurl=http://ftp.riken.go.jp/pub/Linux/centos/${ver}/os/${arch}
case ${ver} in
6|6.*)
gpgkey="${baseurl}/RPM-GPG-KEY-${dist_snake}-6 ${baseurl}/RPM-GPG-KEY-beta"
;;
esac
;;
sl|scientific|scientificlinux)
- dist_snake=scientificlinux
- baseurl=http://srv2.ftp.ne.jp/Linux/packages/${dist_snake}/${ver}/${arch}/os
+ dist_snake="Scientific Linux"
+ baseurl=http://srv2.ftp.ne.jp/Linux/packages/scientificlinux/${ver}/${arch}/os
case ${ver} in
6|6.*)
gpgkey="${baseurl}/RPM-GPG-KEY-sl ${baseurl}/RPM-GPG-KEY-dawson"

0 comments on commit fc3b8d6

Please sign in to comment.