Browse code

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

Yuiko Takada authored on 2013/12/20 17:25:10
Showing 1 changed files
... ...
@@ -62,7 +62,7 @@ function init_trema() {
62 62
     sudo sed -i -e "s|/home/sliceable_switch/script|$TREMA_SS_SCRIPT_DIR|" \
63 63
         $TREMA_SS_APACHE_CONFIG
64 64
     sudo a2enmod rewrite actions
65
-    sudo a2ensite sliceable_switch
65
+    sudo a2ensite sliceable_switch.conf
66 66
 
67 67
     cp $TREMA_SS_DIR/sliceable_switch_null.conf $TREMA_SS_CONFIG
68 68
     sed -i -e "s|^\$apps_dir.*$|\$apps_dir = \"$TREMA_DIR/apps\"|" \