devstack: no need to use sudo for genconfig

neutron_vpnaas_generate_config_files() in devstack/plugin.sh
uses sudo unnecessarily. It creates pyc files with root owner and
when we run stack.sh again stack.sh will fail.

Change-Id: I611ded0a60383f183f053c7a5ff5ccb3f0639e75
This commit is contained in:
Akihiro Motoki 2020-01-13 04:03:24 +09:00
parent 76356f950d
commit cdecf0e122

View File

@ -55,7 +55,7 @@ function neutron_vpnaas_configure_db {
function neutron_vpnaas_generate_config_files {
# Uses oslo config generator to generate VPNaaS sample configuration files
(cd $NEUTRON_VPNAAS_DIR && exec sudo ./tools/generate_config_file_samples.sh)
(cd $NEUTRON_VPNAAS_DIR && exec ./tools/generate_config_file_samples.sh)
}
# Main plugin processing