Skip to content

Commit b241c22

Browse files
Chris-Johnstonfrenck
authored andcommitted
Fix formatting of installation commands (home-assistant#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
1 parent ec90c29 commit b241c22

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/hassio/installation.markdown

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Best practice for updating a Hass.io installation:
8282

8383
SSH to your Hass.io system, or connect to the console, and run:
8484

85-
```
85+
```bash
8686
hassio ha update --version=0.XX.X
8787
```
8888

@@ -140,18 +140,18 @@ You also need to have Docker-CE installed. There are well-documented procedures
140140
To perform the Hass.io installation on Ubuntu, run the following commands:
141141

142142
```bash
143-
$ sudo -i
144-
# apt-get install software-properties-common
145-
# add-apt-repository universe
146-
# apt-get update
147-
# apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
148-
# curl -fsSL get.docker.com | sh
143+
sudo -i
144+
apt-get install software-properties-common
145+
add-apt-repository universe
146+
apt-get update
147+
apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
148+
curl -fsSL get.docker.com | sh
149149
```
150150

151151
And to install Hass.io the one below. That one is used also for other distributions.
152152

153153
```bash
154-
# curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
154+
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s
155155
```
156156

157157
<p class='note'>

0 commit comments

Comments
 (0)