mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #936 from TraSec/inherit_proxy
inherit proxy from ENV on install
This commit is contained in:
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
Block a user