Look up config in default places if it is not specified in CLI
Also fixed quickstart docs to provide YAML config examples. Change-Id: I77535185e8544155dcc05865a40ce1546723e073
This commit is contained in:
@@ -62,18 +62,14 @@ Create CCP CLI configuration file:
|
||||
::
|
||||
|
||||
mkdir /etc/ccp
|
||||
cat > /etc/ccp/ccp.conf << EOF
|
||||
[DEFAULT]
|
||||
deploy_config = /etc/ccp/globals.yaml
|
||||
|
||||
[builder]
|
||||
push = True
|
||||
|
||||
[registry]
|
||||
address = "127.0.0.1:31500"
|
||||
|
||||
[repositories]
|
||||
skip_empty = True
|
||||
cat > /etc/ccp/ccp.yaml << EOF
|
||||
deploy_config: /etc/ccp/globals.yaml
|
||||
builder:
|
||||
push: True
|
||||
registry:
|
||||
address: "127.0.0.1:31500"
|
||||
repositories:
|
||||
skip_empty: True
|
||||
EOF
|
||||
|
||||
Create global CCP configuration file:
|
||||
|
||||
Reference in New Issue
Block a user