summaryrefslogtreecommitdiff
path: root/doc/rtd
diff options
context:
space:
mode:
authorRenan Rodrigo <renanrodrigo@canonical.com>2021-09-17 10:06:49 -0300
committerGitHub <noreply@github.com>2021-09-17 08:06:49 -0500
commitcb82a4508a4c56c3814fa633166d944762071bcf (patch)
treebecfbd5cfe9b1b1cebf34ee4279e95e3c90cf093 /doc/rtd
parent5ea2c669d6e8a9ab30f3107bee45cecc5fa1b081 (diff)
downloadvyos-cloud-init-cb82a4508a4c56c3814fa633166d944762071bcf.tar.gz
vyos-cloud-init-cb82a4508a4c56c3814fa633166d944762071bcf.zip
docs: fix typo and include sudo for report bugs commands (#1022)
Remove a duplicate "a" in the docs, and change the bug reporting documentation to tell users to run the commands with sudo. LP: #1940236
Diffstat (limited to 'doc/rtd')
-rw-r--r--doc/rtd/topics/bugs.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/rtd/topics/bugs.rst b/doc/rtd/topics/bugs.rst
index 4b60776b..ee3828de 100644
--- a/doc/rtd/topics/bugs.rst
+++ b/doc/rtd/topics/bugs.rst
@@ -17,7 +17,7 @@ To aid in debugging, please collect the necessary logs. To do so, run the
.. code-block:: shell-session
- $ cloud-init collect-logs
+ $ sudo cloud-init collect-logs
Wrote /home/ubuntu/cloud-init.tar.gz
If your version of cloud-init does not have the `collect-logs` subcommand,
@@ -25,7 +25,7 @@ then please manually collect the base log files by doing the following:
.. code-block:: shell-session
- $ dmesg > dmesg.txt
+ $ sudo dmesg > dmesg.txt
$ sudo journalctl -o short-precise > journal.txt
$ sudo tar -cvf cloud-init.tar dmesg.txt journal.txt /run/cloud-init \
/var/log/cloud-init.log /var/log/cloud-init-output.log