Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Use centos-vault for CentOS 6.4 ISO image and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hnakamur committed Apr 8, 2015
1 parent f60a0be commit db6607d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions centos-6.4/http/ks.cfg
Expand Up @@ -32,6 +32,9 @@ kernel-headers
%end

%post
/bin/sed -i -e 's/^mirrorlist=/#&/;s|^#baseurl=http://mirror.centos.org/centos/$releasever/|baseurl=http://vault.centos.org/6.4/|' /etc/yum.repos.d/CentOS-Base.repo
/bin/sed -i -e 's/^enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf

/usr/bin/yum -y install sudo
/usr/sbin/groupadd -g 501 vagrant
/usr/sbin/useradd vagrant -u 501 -g vagrant -G wheel
Expand Down
2 changes: 1 addition & 1 deletion centos-6.4/template.json
Expand Up @@ -48,7 +48,7 @@
"http_directory": "http",
"iso_checksum": "4a5fa01c81cc300f4729136e28ebe600",
"iso_checksum_type": "md5",
"iso_url": "http://ftp.riken.jp/Linux/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso",
"iso_url": "http://archive.kernel.org/centos-vault/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand Down

0 comments on commit db6607d

Please sign in to comment.