mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Don't ignore CPU information for CentOS.
This commit is contained in:
parent
808944c0c7
commit
ae0dc73ef8
1 changed files with 6 additions and 1 deletions
|
@ -451,7 +451,12 @@ install_fedora_stable() {
|
|||
#
|
||||
|
||||
install_centos_63_stable_deps() {
|
||||
rpm -Uvh --force http://mirrors.kernel.org/fedora-epel/6/x86_64/epel-release-6-7.noarch.rpm
|
||||
if [ $CPU_ARCH_L = "i686" ]; then
|
||||
local ARCH="i386"
|
||||
else
|
||||
local ARCH=$CPU_ARCH_L
|
||||
fi
|
||||
rpm -Uvh --force http://mirrors.kernel.org/fedora-epel/6/${ARCH}/epel-release-6-7.noarch.rpm
|
||||
yum -y update
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue