-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/19/2013 01:18 PM, Matthew Miller wrote: > 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@xxxxxxxxxx> 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 > > > _______________________________________________ cloud mailing list > cloud@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of > Conduct: http://fedoraproject.org/code-of-conduct > In a container image, you do not need to install selinux-policy*, since selinux policy is not supported within the container. From the containers point of view SELinux is disabled. Because of this you can probably also eliminate policycoreutils, although other packages might suck it back in. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlI7PjkACgkQrlYvE4MpobOS2gCfW3OOnCi3KkrRhId9joZ58kGE oT8AnjIgKnxMBFnGem3vO/yBdq1DWA2B =sLxT -----END PGP SIGNATURE----- _______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct