aboutsummaryrefslogtreecommitdiffstats
path: root/ci.d/yum
diff options
context:
space:
mode:
Diffstat (limited to 'ci.d/yum')
-rw-r--r--ci.d/yum16
1 files changed, 11 insertions, 5 deletions
diff --git a/ci.d/yum b/ci.d/yum
index 961ecf9..d5a63ba 100644
--- a/ci.d/yum
+++ b/ci.d/yum
@@ -1,11 +1,17 @@
#!/usr/bin/env sh
-# yum_upgrade
-yum_upgrade() {
- lxc_do yum update
-}
-
# yum_install $PACKAGES
yum_install() {
lxc_do yum install -y "$@"
}
+
+# yum_install_epel
+yum_install_epel() {
+ lxc_do curl -O http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+ lxc_do rpm -ivh epel-release-latest-7.noarch.rpm
+}
+
+# yum_upgrade
+yum_upgrade() {
+ lxc_do yum update
+}