devstack/files/apache-dib-pip-repo.template
Steve Baker da786b2fd9 Utility functions for building test images
These functions allow images to be built using diskimage-builder which
contain packages built from local project checkouts:
build_dib_pip_repo() - Builds a local pip repo from local projects and configures
                       apache to serve it
disk_image_create_upload() - Creates and uploads a diskimage-builder built image

The unused function lib/heat disk_image_create has been deleted.

Change-Id: Ia75c7c35bfd48dbe6ae3cb9c3241de0b598cbf84
2014-08-22 15:02:26 +12:00

16 lines
417 B
Plaintext

Listen %DIB_PIP_REPO_PORT%
<VirtualHost *:%DIB_PIP_REPO_PORT%>
DocumentRoot %DIB_PIP_REPO%
<Directory %DIB_PIP_REPO%>
DirectoryIndex index.html
Require all granted
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/%APACHE_NAME%/dib_pip_repo_error.log
LogLevel warn
CustomLog /var/log/%APACHE_NAME%/dib_pip_repo_access.log combined
</VirtualHost>