Merge "Strip some excess from the centos dib image"
This commit is contained in:
commit
597955d366
@ -38,6 +38,7 @@ sudo find . -xdev \
|
|||||||
-path './usr/lib/locale/*' -prune -o \
|
-path './usr/lib/locale/*' -prune -o \
|
||||||
-path './usr/share/doc/*' -prune -o \
|
-path './usr/share/doc/*' -prune -o \
|
||||||
-path './usr/share/man/*' -prune -o \
|
-path './usr/share/man/*' -prune -o \
|
||||||
|
-path './usr/share/GeoIP/*' -prune -o \
|
||||||
-path './usr/share/info/*' -prune -o \
|
-path './usr/share/info/*' -prune -o \
|
||||||
-path './usr/share/licenses/*' -prune -o \
|
-path './usr/share/licenses/*' -prune -o \
|
||||||
-path './usr/share/locale/*' -prune -o \
|
-path './usr/share/locale/*' -prune -o \
|
||||||
|
@ -11,6 +11,7 @@ rm -rf /tmp/ironic-python-agent
|
|||||||
# TODO(dtantsur): implement the same for debian-based systems
|
# TODO(dtantsur): implement the same for debian-based systems
|
||||||
case "$DISTRO_NAME" in
|
case "$DISTRO_NAME" in
|
||||||
fedora|centos|centos7|rhel|rhel7)
|
fedora|centos|centos7|rhel|rhel7)
|
||||||
|
${YUM:-yum} remove -y postfix gcc make
|
||||||
${YUM:-yum} clean all
|
${YUM:-yum} clean all
|
||||||
# Rebuilding the rpm database after removing packages will reduce
|
# Rebuilding the rpm database after removing packages will reduce
|
||||||
# its size
|
# its size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user