From f54aa9c1866c9296237868e505227510676ba665 Mon Sep 17 00:00:00 2001 From: tteck Date: Tue, 24 Aug 2021 12:22:07 -0400 Subject: [PATCH] Update ha.sh --- ha.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ha.sh b/ha.sh index d2ee9a59..f24a8184 100644 --- a/ha.sh +++ b/ha.sh @@ -72,19 +72,19 @@ if [ "$STORAGE_TYPE" == "zfspool" ]; then fi # Download setup script -REPO="https://github.com/tteck/Proxmox" -wget -qO - ${REPO}/tarball/master | tar -xz --strip-components=1 +#REPO="https://github.com/tteck/Proxmox" +#wget -qO - ${REPO}/tarball/master | tar -xz --strip-components=1 # Modify LXC permissions to support Docker LXC_CONFIG=/etc/pve/lxc/${CTID}.conf cat <> $LXC_CONFIG -lxc.cgroup.devices.allow: a +lxc.cgroup2.devices.allow: a lxc.cap.drop: EOF # Load modules for Docker before starting LXC cat << 'EOF' >> $LXC_CONFIG -lxc.hook.pre-start: sh -ec 'for module in aufs overlay; do modinfo $module; $(lsmod | grep -Fq $module) || modprobe $module; done;' +lxc.hook.pre-start: sh -ec 'do modinfo $module; $(lsmod | grep -Fq $module) || modprobe $module; done;' EOF # Set autodev hook to enable access to devices in container @@ -192,4 +192,4 @@ Home Assistant is reachable by going to the following URLs. http://${IP}:8123 http://${HOSTNAME}.local:8123 -" \ No newline at end of file +"