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
This commit is contained in:
parent
03af3f1802
commit
74ba66dd3f
2
lib/neutron_thirdparty/trema
vendored
2
lib/neutron_thirdparty/trema
vendored
@ -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\"|" \
|
||||
|
Loading…
Reference in New Issue
Block a user