Merge "Devstack: Fix iPXE apache log location bug"
This commit is contained in:
commit
bd835b671b
@ -9,8 +9,8 @@ Listen %PUBLICPORT%
|
||||
Allow from all
|
||||
Require all granted
|
||||
</Directory>
|
||||
ErrorLog /var/log/apache2/ipxe_error.log
|
||||
ErrorLog %APACHELOGDIR%/ipxe_error.log
|
||||
ErrorLogFormat "%{cu}t [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i"
|
||||
LogLevel info
|
||||
CustomLog /var/log/apache2/ipxe_access.log "%{%Y-%m-%d}t %{%T}t.%{msec_frac}t [%l] %a \"%r\" %>s %b"
|
||||
CustomLog %APACHELOGDIR%/ipxe_access.log "%{%Y-%m-%d}t %{%T}t.%{msec_frac}t [%l] %a \"%r\" %>s %b"
|
||||
</VirtualHost>
|
||||
|
@ -1079,6 +1079,7 @@ function _config_ironic_apache_ipxe {
|
||||
sudo sed -e "
|
||||
s|%PUBLICPORT%|$IRONIC_HTTP_PORT|g;
|
||||
s|%HTTPROOT%|$IRONIC_HTTP_DIR|g;
|
||||
s|%APACHELOGDIR%|$APACHE_LOG_DIR|g;
|
||||
" -i $ipxe_apache_conf
|
||||
enable_apache_site ipxe-ironic
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user