Merge branch 'master' into correct-package-names

This commit is contained in:
NobleKangaroo 2020-11-02 05:30:50 -05:00 committed by GitHub
commit 71f8a2e2ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -15,7 +15,8 @@ This method is considered advanced and should only be used if one is an expert i
Run as root (sudo su):
```bash
curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | bash -s
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
bash installer.sh
```
### Command line arguments
@ -29,7 +30,8 @@ curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/m
you can set these parameters by appending ` --<parameter> <value>` like:
```bash
curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | bash -s -- -m MY_MACHINE
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh
bash installer.sh --machine MY_MACHINE
```
## Supported Machine types

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
declare -a MISSING_PACKGES
declare -a MISSING_PACKAGES
function info { echo -e "\e[32m[info] $*\e[39m"; }
function warn { echo -e "\e[33m[warn] $*\e[39m"; }
@ -71,7 +71,7 @@ fi
# Detect wrong docker logger config
if [ ! -f "$FILE_DOCKER_CONF" ]; then
# Write default configuration
info "Creating default docker deamon configuration $FILE_DOCKER_CONF"
info "Creating default docker daemon configuration $FILE_DOCKER_CONF"
curl -sL ${URL_DOCKER_DAEMON} > "${FILE_DOCKER_CONF}"
# Restart Docker service