This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
- Loading branch information
1 parent
1eaa295
commit 23dfb41
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if grep "CentOS Linux 7" /etc/os-release >/dev/null; then | ||
cat >/etc/yum.repos.d/virt.repo <<EOF | ||
[virt7-container-common-candidate] | ||
name=virt7-container-common-candidate | ||
baseurl=https://cbs.centos.org/repos/virt7-container-common-candidate/x86_64/os/ | ||
enabled=1 | ||
gpgcheck=0 | ||
EOF | ||
# yum remove -y python-chardet # pip loves overlayfs | ||
yum install -y epel-release | ||
yum install -y acl nmap-ncat python2-pip python-six pyxattr python2-docker git | ||
pip install pytest | ||
pip install git+https://github.com/fedora-modularity/conu | ||
else | ||
echo "Unsupported distro" | ||
exit 1 | ||
fi |