Update documentation for Debian package

This commit is contained in:
Matheson Steplock 2021-10-10 04:19:43 +00:00 committed by GitHub
parent 3717667ff1
commit 4c417728f5

View file

@ -12,26 +12,36 @@ This method is considered advanced and should only be used if one is an expert i
## Installation ## Installation
Run as root (sudo su): Run the following commands as root `sudo su -`
Step 1: Install Docker-CE with the following command:
```bash ```bash
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh curl -fsSL get.docker.com | sh
bash installer.sh
``` ```
### Command line arguments Step 2: Install the following dependacy's with this command:
| argument | default | description |
|--------------------|----------------------|--------------------------------------------------------|
| -m \| --machine | | On a special platform they need set a machine type use |
| -d \| --data-share | $PREFIX/share/hassio | data folder for hass.io installation |
| -p \| --prefix | /usr | Binary prefix for hass.io installation |
| -s \| --sysconfdir | /etc | Configuration directory for hass.io installation |
you can set these parameters by appending ` --<parameter> <value>` like:
```bash ```bash
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh apt-get install \
bash installer.sh --machine MY_MACHINE jq \
curl \
avahi-daemon \
udisks2 \
libglib2.0-bin \
network-manager \
dbus -y
```
Step 3: Install the OS-Agent:
Instructions for installing the OS-Agent can be found [here](https://github.com/home-assistant/os-agent/tree/main#using-home-assistant-supervised-on-debian)
Step 4: Install the Home Assisistant Supervised Debian Package:
```bash
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb
``` ```
## Supported Machine types ## Supported Machine types