mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
fix get container id bug (#8196)
This commit is contained in:
parent
e34369c860
commit
0e1408844b
@ -15,7 +15,7 @@
|
||||
# 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_MODE=${MINT_MODE:-core}
|
||||
SERVER_REGION=${SERVER_REGION:-us-east-1}
|
||||
|
Loading…
Reference in New Issue
Block a user