mirror of https://github.com/istio/istio.io.git
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:
parent
7ba88781a4
commit
25c2d74c94
|
@ -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`.
|
1. Add the istiod host to `/etc/hosts`.
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ sudo cat hosts-addendum >> /etc/hosts
|
$ sudo sh -c 'cat hosts-addendum >> /etc/hosts'
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
1. Transfer ownership of the files in `/etc/certs/` and `/var/lib/istio/envoy/` to the Istio proxy.
|
1. Transfer ownership of the files in `/etc/certs/` and `/var/lib/istio/envoy/` to the Istio proxy.
|
||||||
|
|
Loading…
Reference in New Issue