Full cloud setup test run #1 fixes.
This commit is contained in:
@@ -73,11 +73,9 @@ CONFIG_FILE="${WC_HOME}/config.yaml"
|
||||
|
||||
# Create config file if it doesn't exist
|
||||
if [ ! -f "${CONFIG_FILE}" ]; then
|
||||
echo "Creating new config file at ${CONFIG_FILE}"
|
||||
print_info "Creating new config file at ${CONFIG_FILE}"
|
||||
echo "{}" > "${CONFIG_FILE}"
|
||||
fi
|
||||
|
||||
# Use yq to set the value in the YAML file
|
||||
yq eval ".${KEY_PATH} = \"${VALUE}\"" -i "${CONFIG_FILE}"
|
||||
|
||||
echo "Set ${KEY_PATH} = ${VALUE}"
|
Reference in New Issue
Block a user