diff options
| author | Amy Fong <amy.fong@windriver.com> | 2014-04-08 11:49:00 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-04-10 14:38:54 -0400 |
| commit | a40bba49410de349ce9a408554c5edb229abcd53 (patch) | |
| tree | 0865ac7b51ace16b631b6db8dbae6e48e7fe9116 /meta-openstack | |
| parent | 289d3d1e396f66af81cdfc434d48ded043c33320 (diff) | |
| download | meta-cloud-services-a40bba49410de349ce9a408554c5edb229abcd53.tar.gz | |
Configure apache's ServerName
- modify apache2's configuration file for ServerName to 127.0.0.1:80
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/recipes-extended/apache2/apache2_2.4.2.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/apache2/apache2_2.4.2.bbappend b/meta-openstack/recipes-extended/apache2/apache2_2.4.2.bbappend new file mode 100644 index 0000000..664de2c --- /dev/null +++ b/meta-openstack/recipes-extended/apache2/apache2_2.4.2.bbappend | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | INC := "${@int(PRINC) + 1}" | ||
| 2 | |||
| 3 | do_install_append() { | ||
| 4 | sed -i -e 's/#ServerName.*$/ServerName 127.0.0.1:80/' ${D}${sysconfdir}/apache2/httpd.conf | ||
| 5 | } | ||
