mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 09:21:03 +01:00
Align hostname with container name
This commit is contained in:
@@ -7,6 +7,9 @@ bashio::log.info "Starting app"
|
||||
|
||||
cd /app || exit 1
|
||||
|
||||
container_name="${HOSTNAME//-/_}"
|
||||
export HOSTNAME="${container_name}"
|
||||
|
||||
args=()
|
||||
if bashio::config.has_value 'PORTAINER_AGENT_ARGS'; then
|
||||
read -r -a args <<<"$(bashio::config 'PORTAINER_AGENT_ARGS')"
|
||||
|
||||
Reference in New Issue
Block a user