container/container-medium-19.ks | 3 +++
container/container-medium-20.ks | 3 +++
container/container-minimal-19.ks | 2 ++
container/container-minimal-20.ks | 2 ++
4 files changed, 10 insertions(+)
New commits:
commit 813cd55875feaff0e3273fb2b53dc2ed51bdf62a
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Thu Sep 19 12:17:48 2013 -0500
remove /boot contents (created by appliance-creator, not needed)
diff --git a/container/container-medium-19.ks b/container/container-medium-19.ks
index 2a311fb..2826c43 100644
--- a/container/container-medium-19.ks
+++ b/container/container-medium-19.ks
@@ -119,6 +119,9 @@ rm -rf /var/lib/yum/history/*
yum history new || yum history new
truncate -c -s 0 /var/log/yum.log
+echo "Removing boot, since we don't need that."
+rm -rf /boot/*
+
echo "Fixing SELinux contexts."
/usr/sbin/fixfiles -R -a restore
diff --git a/container/container-medium-20.ks b/container/container-medium-20.ks
index 5cec913..4c9b2f5 100644
--- a/container/container-medium-20.ks
+++ b/container/container-medium-20.ks
@@ -119,6 +119,9 @@ rm -rf /var/lib/yum/history/*
yum history new || yum history new
truncate -c -s 0 /var/log/yum.log
+echo "Removing boot, since we don't need that."
+rm -rf /boot/*
+
echo "Fixing SELinux contexts."
/usr/sbin/fixfiles -R -a restore
diff --git a/container/container-minimal-19.ks b/container/container-minimal-19.ks
index 2548b44..cf0d311 100644
--- a/container/container-minimal-19.ks
+++ b/container/container-minimal-19.ks
@@ -110,6 +110,8 @@ yum -C -y remove passwd
--setopt="clean_requirements_on_remove=1"
yum -C -y remove findutils --setopt="clean_requirements_on_remove=1"
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
+echo "Removing boot, since we don't need that."
+rm -rf /boot/*
echo "Cleaning old yum repodata."
yum clean all
diff --git a/container/container-minimal-20.ks b/container/container-minimal-20.ks
index b6df5b4..653cefb 100644
--- a/container/container-minimal-20.ks
+++ b/container/container-minimal-20.ks
@@ -110,6 +110,8 @@ yum -C -y remove passwd
--setopt="clean_requirements_on_remove=1"
yum -C -y remove findutils --setopt="clean_requirements_on_remove=1"
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
+echo "Removing boot, since we don't need that."
+rm -rf /boot/*
echo "Cleaning old yum repodata."
yum clean all
Show replies by date