From 62328d17153aed5d2fb8c35ded5d99b59070324f Mon Sep 17 00:00:00 2001 From: Matheson Steplock Date: Tue, 26 Oct 2021 04:22:15 -0400 Subject: [PATCH] Update documentation for Debian package (#156) * Update documentation for Debian package * Added `su -` * Install dependacy's before docker --- README.md | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index bb66a69..954f0d4 100644 --- a/README.md +++ b/README.md @@ -12,26 +12,36 @@ This method is considered advanced and should only be used if one is an expert i ## Installation -Run as root (sudo su): +Run the following commands as root (`su -` or `sudo su -` on machines with sudo installed): + +Step 1: Install the following dependacy's with this command: ```bash -curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh -bash installer.sh +apt-get install \ +jq \ +curl \ +avahi-daemon \ +udisks2 \ +libglib2.0-bin \ +network-manager \ +dbus -y ``` -### Command line arguments -| 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 ` -- ` like: +Step 2: Install Docker-CE with the following command: ```bash -curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh -bash installer.sh --machine MY_MACHINE +curl -fsSL get.docker.com | sh +``` + +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