-
-
Save zhum/b89d9667712b7fbae49a22334057ce32 to your computer and use it in GitHub Desktop.
xCAT install (CentOS 7)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat << EOF > /etc/yum.repos.d/xCAT-core.repo | |
[xcat-2-core] | |
name=xCAT 2 Core packages | |
baseurl=http://xcat.org/files/xcat/repos/yum/2.13/xcat-core | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=http://xcat.org/files/xcat/repos/yum/2.13/xcat-core/repodata/repomd.xml.key | |
EOF | |
cat << EOF > /etc/yum.repos.d/xCAT-dep.repo | |
[xcat-dep] | |
name=xCAT 2 depedencies | |
baseurl=http://xcat.org/files/xcat/repos/yum/xcat-dep/rh7/x86_64 | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=http://xcat.org/files/xcat/repos/yum/xcat-dep/rh7/x86_64/repodata/repomd.xml.key | |
EOF | |
yum update -y | |
yum install -y xCAT vim screen gettext wget | |
systemctl enable xcatd | |
systemctl start xcatd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment