fix get container id bug (#8196)

master
Yao Zongyou 5 years ago committed by Nitish Tiwari
parent e34369c860
commit 0e1408844b
  1. 2
      mint/mint.sh

@ -15,7 +15,7 @@
# limitations under the License. # limitations under the License.
# #
CONTAINER_ID=$(awk -F / '{ print substr($NF, 1, 12) }' /proc/1/cpuset) CONTAINER_ID=$(grep -o -e '[0-f]\{12,\}' /proc/1/cpuset | awk '{print substr($1, 1, 12)}')
MINT_DATA_DIR=${MINT_DATA_DIR:-/mint/data} MINT_DATA_DIR=${MINT_DATA_DIR:-/mint/data}
MINT_MODE=${MINT_MODE:-core} MINT_MODE=${MINT_MODE:-core}
SERVER_REGION=${SERVER_REGION:-us-east-1} SERVER_REGION=${SERVER_REGION:-us-east-1}

Loading…
Cancel
Save