CiscoDevNet / ydk-gen

Generate model-driven APIs from YANG models
http://ciscodevnet.github.io/ydk-gen/
Apache License 2.0
137 stars 74 forks source link

sudo-ing wget in install script doesn't respect http proxy environment settings #1038

Open valeriodigregorio opened 3 years ago

valeriodigregorio commented 3 years ago

Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.

Expected Behavior

WGET during installation shouldn't fail

Current Behavior

WGET during installation fails when done in a sudo command if the current user has environment settings for http proxy.

Steps to Reproduce

Setup http_proxy env var in your shell then run the install_ydk.sh

Your Script

No script available.

Logs

I can't repro the issue right now to collect logs. I will do it upon request if needed.

System Information

Ubuntu bionic on docker container.

ygorelik commented 3 years ago

None of the YDK scripts uses _httpproxy as environment variable. There for the described symptoms could not be considered as YDK defect. I suggest to close this issue and move the discussion to Cisco Community.