From 428d85d5cb818d9a9349c99fb9b45e3af6675195 Mon Sep 17 00:00:00 2001 From: jkoschke Date: Thu, 13 Jan 2022 02:18:33 +0100 Subject: [PATCH] removed hass api added to hostnetwork --- tinc/Dockerfile | 7 ------- tinc/config.yaml | 3 ++- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tinc/Dockerfile b/tinc/Dockerfile index cbdca30..3a77912 100644 --- a/tinc/Dockerfile +++ b/tinc/Dockerfile @@ -74,13 +74,6 @@ RUN \ ADD https://raw.githubusercontent.com/scopatz/nanorc/master/yaml.nanorc /usr/share/nano/yaml.nanorc RUN sed -i 's/^#[[:space:]]*\(include "\/usr\/share\/nano\/\*\.nanorc".*\)/\1/' /etc/nanorc -# Home Assistant CLI -ARG BUILD_ARCH -ARG CLI_VERSION -RUN curl -Lso /usr/bin/ha \ - "https://github.com/home-assistant/cli/releases/download/${CLI_VERSION}/ha_${BUILD_ARCH}" \ - && chmod a+x /usr/bin/ha \ - && /usr/bin/ha completion > /usr/share/bash-completion/completions/ha # Copy data COPY rootfs / diff --git a/tinc/config.yaml b/tinc/config.yaml index df1faae..3604021 100644 --- a/tinc/config.yaml +++ b/tinc/config.yaml @@ -44,4 +44,5 @@ uart: true privileged: - NET_ADMIN devices: - - /dev/net/tun \ No newline at end of file + - /dev/net/tun +host_network: true \ No newline at end of file