Fix sudo command on VM doc (#7424)

If you are not running as root already, this will fail. The redirect part is not run as root previously

Co-authored-by: John Howard <howardjohn@google.com>
This commit is contained in:
Istio Automation 2020-05-28 08:21:46 -07:00 committed by GitHub
parent 7ba88781a4
commit 25c2d74c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ Run the following commands on the virtual machine you want to add to the Istio m
1. Add the istiod host to `/etc/hosts`.
{{< text bash >}}
$ sudo cat hosts-addendum >> /etc/hosts
$ sudo sh -c 'cat hosts-addendum >> /etc/hosts'
{{< /text >}}
1. Transfer ownership of the files in `/etc/certs/` and `/var/lib/istio/envoy/` to the Istio proxy.