szihai / istio-workshop

Istio Workshop
42 stars 20 forks source link

For exer #5, the no need to copy istio-0.6.0/bin/istioctl #11

Closed nilesh32 closed 6 years ago

nilesh32 commented 6 years ago

For the #5, there is no need to copy istio-0.6.0/bin/istioctl to /usr/local/bin and then asking users to enter the sudo password. In fact, it's risky. If a user mistype the sudo password first time, it doesn't ask for the password again if you try to run sudo cp istio-0.6.0/bin/istioctl /usr/local/bin again. It just keep throwing path unavailable method.

I tried our original method at https://github.com/szihai/istio-workshop/blob/think/exercise-5/README.md. It works fine. Please test on your side as well to make sure.

szihai commented 6 years ago

changed.