From 25c2d74c94e97c64b2c1038c69d213b62fe33d4d Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Thu, 28 May 2020 08:21:46 -0700 Subject: [PATCH] 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 --- content/en/docs/setup/install/virtual-machine/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/setup/install/virtual-machine/index.md b/content/en/docs/setup/install/virtual-machine/index.md index e729e10bf3..df86070d86 100644 --- a/content/en/docs/setup/install/virtual-machine/index.md +++ b/content/en/docs/setup/install/virtual-machine/index.md @@ -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.