Support Network Storage (#325)

This commit is contained in:
Matheson Steplock 2023-10-16 03:29:49 -04:00 committed by GitHub
parent ba6a9d341c
commit 724cbf2dfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 7 deletions

View file

@ -19,16 +19,18 @@ Step 1: Install the following dependencies with this command:
```bash
apt install \
apparmor \
jq \
wget \
cifs-utils \
curl \
udisks2 \
libglib2.0-bin \
network-manager \
dbus \
jq \
libglib2.0-bin \
lsb-release \
network-manager \
nfs-common \
systemd-journal-remote \
systemd-resolved -y
systemd-resolved \
udisks2 \
wget -y
```
Step 2: Install Docker-CE with the following command:

View file

@ -3,7 +3,7 @@ Section: base
Version: 1.5.0
Priority: optional
Architecture: all
Depends: curl, bash, docker-ce, dbus, network-manager, apparmor, jq, systemd, os-agent, systemd-journal-remote, systemd-resolved
Depends: curl, bash, docker-ce, dbus, network-manager, apparmor, jq, systemd, os-agent, systemd-journal-remote, systemd-resolved, nfs-common, cifs-utils
Maintainer: Matheson Steplock <https://mathesonsteplock.ca/>
Homepage: https://www.home-assistant.io/
Description: Home Assistant Supervised

View file

@ -51,6 +51,11 @@ if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; th
systemctl enable systemd-journal-gatewayd.socket> /dev/null 2>&1;
systemctl start systemd-journal-gatewayd.socket
fi
# Start nfs-utils.service for nfs mounts
if [ "$(systemctl is-active nfs-utils.service)" = 'inactive' ]; then
info "Start nfs-utils.service"
systemctl start nfs-utils.service
fi
# Restart Docker service
info "Restarting docker service"