That is pretty much what I have with the bashrc settings. The issue is that the no_proxy points to localhost and the script calls the fog server IP address [from my memory].
BUT I could use bits of what you posted with something like this. (understand I already have the exports for the http_proxy… in my bash rc)
no_proxy="<ip_add_fog_server>" ./installfog.sh -y
That would allow the installer script to run unaltered and still tell wget to no proxy for the fog server IP address. I don’t know how big an issue this is or how many fog servers are behind proxy servers. I just wanted to get it documented for others that may find this post.