From b241c227d045483e047b990518fecfc955be33dc Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Sun, 7 Jul 2019 13:59:58 -0700 Subject: [PATCH] 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 --- source/hassio/installation.markdown | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/hassio/installation.markdown b/source/hassio/installation.markdown index 06c0d5ecea3..0209bf77854 100644 --- a/source/hassio/installation.markdown +++ b/source/hassio/installation.markdown @@ -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: -``` +```bash 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: ```bash -$ sudo -i -# apt-get install software-properties-common -# add-apt-repository universe -# apt-get update -# 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 +sudo -i +apt-get install software-properties-common +add-apt-repository universe +apt-get update +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 ``` And to install Hass.io the one below. That one is used also for other distributions. ```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 ```