mirror of https://github.com/k3s-io/k3s
commit
0843a3f105
|
@ -567,6 +567,7 @@ create_env_file() {
|
|||
UMASK=$(umask)
|
||||
umask 0377
|
||||
env | grep '^K3S_' | $SUDO tee ${FILE_K3S_ENV} >/dev/null
|
||||
env | egrep -i '^(NO|HTTP|HTTPS)_PROXY' | $SUDO tee -a ${FILE_K3S_ENV} >/dev/null
|
||||
umask $UMASK
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue