Move flag for jenkins in docker to /opt
Change-Id: I6ef054f7439f20b2d5c76ebe0ed782aca677d0cc
diff --git a/config-drive/master_config.yaml b/config-drive/master_config.yaml
index 42b11fb..df746c5 100644
--- a/config-drive/master_config.yaml
+++ b/config-drive/master_config.yaml
@@ -116,8 +116,8 @@
function process_jenkins() {
# INFO: jenkins is in docker in 2019.x releases
- if [ -f /root/jenkins_in_docker ]; then
- rm -v /root/jenkins_in_docker
+ if [ -f /opt/jenkins_in_docker ]; then
+ rm -v /opt/jenkins_in_docker
export JENKINS_HOME=/srv/volumes/jenkins
_swarm=$(salt-call --out=text pillar.get docker:swarm:advertise_addr | awk '{print $2}')
if [[ "${_swarm}" != "" ]]; then