zoukankan      html  css  js  c++  java
  • 写入多个变量到配置文件【linux】

    #!/bin/bash
    cat <<'EOF' >> /etc/ecs/ecs.config
    ECS_CLUSTER=MyCluster
    ECS_ENGINE_AUTH_TYPE=docker
    ECS_ENGINE_AUTH_DATA={"https://index.docker.io/v1/":{"username":"my_name","password":"my_password","email":"email@example.com"}}
    ECS_LOGLEVEL=debug
    EOF
  • 相关阅读:
    2.6
    zuoye
    练习1
    练习
    练习
    4
    3
    2
    1
    1.3
  • 原文地址:https://www.cnblogs.com/husbandmen/p/9636430.html
Copyright © 2011-2022 走看看