🚑 Don't show resolved secrets in add-on log

This commit is contained in:
Franck Nijhof 2019-04-16 23:49:19 +02:00
parent 656a2d9dd8
commit cc291a4e93
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -52,13 +52,13 @@ mkdir -p "/var/lib/zerotier-one/networks.d" \
# Install user configured/requested packages
if bashio::config.has_value 'networks'; then
while read -r network; do
bashio::log.info "Configuring network: ${network}"
# Get network ID from secrets, if it is a secret
if bashio::is_secret "${network}"; then
network=$(bashio::secret "${network}")
fi
bashio::log.info "Configuring network: ${network}"
# Ensure the file exists. An empty file will cause automatic join.
touch "/data/network.${network}.conf"
ln -s \