NetworkManager is not optional anymore (#36)

* Update README.md

* Update hassio_install.sh
This commit is contained in:
Pascal Vizeli 2019-08-23 14:42:30 +02:00 committed by GitHub
parent b8ff06f578
commit 5263af1927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -13,13 +13,15 @@ jq
curl
avahi-daemon
dbus
network-manager
```
**Important**: Don't only install NetworkManager, you need also use it on your system.
## Optional
```
apparmor-utils
network-manager
```
## Run

View file

@ -20,8 +20,8 @@ command -v jq > /dev/null 2>&1 || { echo "[Error] Please install jq first"; exit
command -v curl > /dev/null 2>&1 || { echo "[Error] Please install curl first"; exit 1; }
command -v avahi-daemon > /dev/null 2>&1 || { echo "[Error] Please install avahi first"; exit 1; }
command -v dbus-daemon > /dev/null 2>&1 || { echo "[Error] Please install dbus first"; exit 1; }
command -v nmcli > /dev/null 2>&1 || { echo "[Error] No NetworkManager support on host."; exit 1; }
command -v apparmor_parser > /dev/null 2>&1 || echo "[Warning] No AppArmor support on host."
command -v nmcli > /dev/null 2>&1 || echo "[Warning] No NetworkManager support on host."
#detect if running on snapped docker
if snap list docker >/dev/null 2>&1; then