Skip to content

Commit 0577af4

Browse files
author
Matthew Fisher
committed
style(docs): style cleanup
1 parent ff59e5f commit 0577af4

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

docs/managing_deis/upgrading-deis.rst

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,28 @@ Once all applications have been validated, the old cluster can be retired.
152152
Upgrading CoreOS
153153
----------------
154154

155-
Sometimes you may need to update CoreOS manually in order to get Deis to work. You can do this by ssh'ing onto your servers and running the following commands:
155+
Sometimes you may need to update CoreOS manually in order to get Deis to work. You can do this by
156+
running the following commands:
156157

157-
sudo /usr/bin/systemctl unmask update-engine.service
158-
sudo /usr/bin/systemctl start update-engine.service
159-
sudo update_engine_client -update
160-
sudo /usr/bin/systemctl stop update-engine.service
161-
sudo /usr/bin/systemctl mask update-engine.service
162-
sudo reboot
158+
.. code-block:: console
159+
160+
$ ssh core@<server ip>
161+
$ sudo su
162+
$ systemctl unmask update-engine.service
163+
$ systemctl start update-engine.service
164+
$ update_engine_client -update
165+
$ systemctl stop update-engine.service
166+
$ systemctl mask update-engine.service
167+
$ reboot
163168
164169
You can check the CoreOS version by running the following command on the CoreOS machine:
165170

166-
cat /etc/os-release
171+
.. code-block:: console
172+
173+
$ cat /etc/os-release
167174
168175
Or from your local machine:
169176

170-
ssh core@<server ip> 'cat /etc/os-release'
177+
.. code-block:: console
178+
179+
$ ssh core@<server ip> 'cat /etc/os-release'

0 commit comments

Comments
 (0)