From 74ba66dd3f3d54d6a2bec925e8c6573810976b5b Mon Sep 17 00:00:00 2001 From: Yuiko Takada Date: Fri, 20 Dec 2013 08:25:10 +0000 Subject: [PATCH] Fix the option of a2ensite command devstack fails with trema when execute "sudo a2ensite sliceable_switch" command, without ".conf" filename extension with Apache2.4, Apache2.22. With Apache 2.2, it successes. Because in the versions which newer than version 2.2, file checking of a2ensite command is more severe. So, a2ensite command forbid "sliceable_switch" without "/conf". Added ".conf" filename extension. Change-Id: I29a03cb59ee493345b7df0f1a9189eb3516c86e2 Closes-Bug: #1263017 --- lib/neutron_thirdparty/trema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neutron_thirdparty/trema b/lib/neutron_thirdparty/trema index 9efd3f6c39..bdc23568fb 100644 --- a/lib/neutron_thirdparty/trema +++ b/lib/neutron_thirdparty/trema @@ -62,7 +62,7 @@ function init_trema() { sudo sed -i -e "s|/home/sliceable_switch/script|$TREMA_SS_SCRIPT_DIR|" \ $TREMA_SS_APACHE_CONFIG sudo a2enmod rewrite actions - sudo a2ensite sliceable_switch + sudo a2ensite sliceable_switch.conf cp $TREMA_SS_DIR/sliceable_switch_null.conf $TREMA_SS_CONFIG sed -i -e "s|^\$apps_dir.*$|\$apps_dir = \"$TREMA_DIR/apps\"|" \