mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
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:
parent
ec90c29421
commit
b241c227d0
@ -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
|
||||
```
|
||||
|
||||
<p class='note'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user