Files
sahara-image-elements/elements/hdp-local-mirror/environment.d/99-set-up-default-apache-dir
Luigi Toscano 5d05a3db2f Remove CentOS6/RHEL6 support
Deprecated in Pike, and removed from diskimage-builder for a while.

Story: 2001996
Task: 19626
Change-Id: I9b4eab56fcbfcb2e97805fba805eafeeafa5d540
2018-05-15 18:22:50 +02:00

13 lines
271 B
Plaintext

case "${DISTRO_NAME}" in
centos7 | rhel7 | fedora )
export DIB_DEFAULT_APACHE_DIR="/var/www/html"
;;
ubuntu )
export DIB_DEFAULT_APACHE_DIR="/var/www"
;;
* )
echo "Unsupported distro: ${DISTRO_NAME}"
exit 1
;;
esac