diff --git a/docker/base/start.sh b/docker/base/start.sh index 2b77b4ea26..7ac505aeab 100644 --- a/docker/base/start.sh +++ b/docker/base/start.sh @@ -16,7 +16,7 @@ ARGS="" sudo kolla_copy_cacerts # Install projects that are in /dev-mode -kolla_install_projects +sudo kolla_install_projects if [[ ! "${!KOLLA_SKIP_EXTEND_START[@]}" ]]; then # Run additional commands if present diff --git a/docker/base/sudoers b/docker/base/sudoers index 9b2bfb8dca..eb31bc98b1 100644 --- a/docker/base/sudoers +++ b/docker/base/sudoers @@ -20,4 +20,7 @@ root ALL=(ALL) ALL # Copy custom CA certificates to containers %kolla ALL=(root) NOPASSWD: /usr/local/bin/kolla_copy_cacerts +# Install projects in dev-mode +%kolla ALL=(root) NOPASSWD: /usr/local/bin/kolla_install_projects + #includedir /etc/sudoers.d