From cdecf0e12223c701f25c0c7ba22c2a126758e007 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Mon, 13 Jan 2020 04:03:24 +0900 Subject: [PATCH] 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 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 4514a10d2..068a90afb 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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