NetworkManager is not optional anymore (#36)
* Update README.md * Update hassio_install.sh
This commit is contained in:
parent
b8ff06f578
commit
5263af1927
2 changed files with 4 additions and 2 deletions
|
@ -13,13 +13,15 @@ jq
|
||||||
curl
|
curl
|
||||||
avahi-daemon
|
avahi-daemon
|
||||||
dbus
|
dbus
|
||||||
|
network-manager
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Important**: Don't only install NetworkManager, you need also use it on your system.
|
||||||
|
|
||||||
## Optional
|
## Optional
|
||||||
|
|
||||||
```
|
```
|
||||||
apparmor-utils
|
apparmor-utils
|
||||||
network-manager
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
|
@ -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 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 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 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 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
|
#detect if running on snapped docker
|
||||||
if snap list docker >/dev/null 2>&1; then
|
if snap list docker >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Reference in a new issue