Fix escaping in mesos-slave command line
This commit is contained in:
		@@ -34,12 +34,12 @@ mesosslave:
 | 
				
			|||||||
  - bash
 | 
					  - bash
 | 
				
			||||||
  - -xc
 | 
					  - -xc
 | 
				
			||||||
  - >
 | 
					  - >
 | 
				
			||||||
    NAME=$(cut -f2 -d/ <<<$MESOSMASTER1_NAME) &&
 | 
					    NAME=$(cut -f2 -d/ <<<${MESOSMASTER1_NAME}) &&
 | 
				
			||||||
    N=${NAME##*_} &&
 | 
					    N=${NAME##*_} &&
 | 
				
			||||||
    DOCKER_NETWORK_OFFSET=0.0.$N.0
 | 
					    DOCKER_NETWORK_OFFSET=0.0.${N}.0
 | 
				
			||||||
    exec wrapdocker mesos-slave
 | 
					    exec wrapdocker mesos-slave
 | 
				
			||||||
    --work_dir="/var/tmp/mesos/$N"
 | 
					    --work_dir="/var/tmp/mesos/${N}"
 | 
				
			||||||
    --attributes=rack:$N\\;gen:201$N
 | 
					    --attributes="rack:${N};gen:201${N}"
 | 
				
			||||||
    --hostname=$(getent hosts mesosslave | cut -d' ' -f1 | sort -u | tail -1)
 | 
					    --hostname=$(getent hosts mesosslave | cut -d' ' -f1 | sort -u | tail -1)
 | 
				
			||||||
  command: ~
 | 
					  command: ~
 | 
				
			||||||
  environment:
 | 
					  environment:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user