Support Network Storage (#325)
This commit is contained in:
parent
ba6a9d341c
commit
724cbf2dfb
3 changed files with 14 additions and 7 deletions
14
README.md
14
README.md
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue