Merge branch 'master' into correct-package-names
This commit is contained in:
commit
71f8a2e2ad
2 changed files with 7 additions and 5 deletions
|
@ -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):
|
Run as root (sudo su):
|
||||||
|
|
||||||
```bash
|
```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
|
### Command line arguments
|
||||||
|
@ -26,10 +27,11 @@ curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/m
|
||||||
| -p \| --prefix | /usr | Binary prefix for hass.io installation |
|
| -p \| --prefix | /usr | Binary prefix for hass.io installation |
|
||||||
| -s \| --sysconfdir | /etc | Configuration directory for hass.io installation |
|
| -s \| --sysconfdir | /etc | Configuration directory for hass.io installation |
|
||||||
|
|
||||||
you can set these parameters by appending ` -- <parameter> <value>` like:
|
you can set these parameters by appending ` --<parameter> <value>` like:
|
||||||
|
|
||||||
```bash
|
```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
|
## Supported Machine types
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
declare -a MISSING_PACKGES
|
declare -a MISSING_PACKAGES
|
||||||
|
|
||||||
function info { echo -e "\e[32m[info] $*\e[39m"; }
|
function info { echo -e "\e[32m[info] $*\e[39m"; }
|
||||||
function warn { echo -e "\e[33m[warn] $*\e[39m"; }
|
function warn { echo -e "\e[33m[warn] $*\e[39m"; }
|
||||||
|
@ -71,7 +71,7 @@ fi
|
||||||
# Detect wrong docker logger config
|
# Detect wrong docker logger config
|
||||||
if [ ! -f "$FILE_DOCKER_CONF" ]; then
|
if [ ! -f "$FILE_DOCKER_CONF" ]; then
|
||||||
# Write default configuration
|
# 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}"
|
curl -sL ${URL_DOCKER_DAEMON} > "${FILE_DOCKER_CONF}"
|
||||||
|
|
||||||
# Restart Docker service
|
# Restart Docker service
|
||||||
|
|
Loading…
Reference in a new issue