Skip to content

Commit

Permalink
Remove RDO distribution configuration (finally fixes #46)
Browse files Browse the repository at this point in the history
It forces using /var/log/ironic/ironic.log, which is not necessary in
containers and also grows indefinitely since log rotation is not enabled.
  • Loading branch information
dtantsur committed Nov 29, 2022
1 parent 61f6990 commit 8621a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prepare-image.sh
Expand Up @@ -71,6 +71,8 @@ chown ironic:ironic /var/log/ironic
# This file is generated after installing mod_ssl and it affects our configuration
rm -f /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/autoindex.conf /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.modules.d/*.conf

# RDO-provided configuration forces creating log files
rm -f /usr/share/ironic/ironic-dist.conf /etc/ironic-inspector/inspector-dist.conf

dnf clean all
rm -rf /var/cache/{yum,dnf}/*
Expand Down

0 comments on commit 8621a3b

Please sign in to comment.