Fix formatting of installation commands (#9803)

* Fix formatting of installation commands

This change fixes the formatting of the generic linux host
installation commands so that they all begin with `$`.
This ensures that they are rendered correctly in the documentation.

Previously, the commands under `$ sudo -i` all began with `#` (to
indicate that the shell was running as root). While this is correct,
the markdown formatting thinks that they are comments, so they
are rendered in a light gray color.

* remove line start symbol from commads

none of the commands produce any output, so all of the symbols
should be removed
This commit is contained in:
Chris Johnston 2019-07-07 13:59:58 -07:00 committed by Franck Nijhof
parent ec90c29421
commit b241c227d0

View File

@ -82,7 +82,7 @@ Best practice for updating a Hass.io installation:
SSH to your Hass.io system, or connect to the console, and run: SSH to your Hass.io system, or connect to the console, and run:
``` ```bash
hassio ha update --version=0.XX.X hassio ha update --version=0.XX.X
``` ```
@ -140,18 +140,18 @@ You also need to have Docker-CE installed. There are well-documented procedures
To perform the Hass.io installation on Ubuntu, run the following commands: To perform the Hass.io installation on Ubuntu, run the following commands:
```bash ```bash
$ sudo -i sudo -i
# apt-get install software-properties-common apt-get install software-properties-common
# add-apt-repository universe add-apt-repository universe
# apt-get update apt-get update
# apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
# curl -fsSL get.docker.com | sh curl -fsSL get.docker.com | sh
``` ```
And to install Hass.io the one below. That one is used also for other distributions. And to install Hass.io the one below. That one is used also for other distributions.
```bash ```bash
# curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
``` ```
<p class='note'> <p class='note'>