Closed thatsk closed 3 years ago
why it's going for /root it should take the user directory.
why it's going for /root it should take the user directory.
Because you did sudo kind.sh
, $HOME is reset to root's home directory by the shell running under sudo as root. For example:
$ sudo bash -c 'echo $HOME'
[sudo] password for jpeach:
/root
A number of problems with the Kind script. Fixing in #126.
Describe the bug https://github.com/kumahq/kuma-demo/blob/master/kind/kind.sh#L4-L7 this need to be updated.