Unverified Commit 06f47741 authored by Christian Tramnitz's avatar Christian Tramnitz Committed by GitHub

inherit proxy settings on install

Write proxy settings into FILE_K3S_ENV on install. This should address #627
parent f9888ca3
......@@ -567,6 +567,7 @@ create_env_file() {
UMASK=$(umask)
umask 0377
env | grep '^K3S_' | $SUDO tee ${FILE_K3S_ENV} >/dev/null
env | egrep '^(NO|HTTP|HTTPS)_PROXY' | $SUDO tee -a ${FILE_K3S_ENV} >/dev/null
umask $UMASK
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment