Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add input statement durring install to get PROXY server information #104

Closed
ubergeeken opened this issue Jun 12, 2016 · 1 comment
Closed

Comments

@ubergeeken
Copy link

ubergeeken commented Jun 12, 2016

SVN Rev 5661
Running Version 8064

As noted in another separate issue, installations behind a Proxy (which would be common) causes a bit of grief.
At the current trunk version there is a PPA that is being added (that fails for me due to proxy/key issues), APT-GET processes that require the use of a proxy to get out, and CURL processes for downloading the latest boot images bzImage and Hash checks.

I think it would be a good investment to as the installer/admin to optionally provide a proxy server IP, port and (optionally) ask for any credentials for an authenticated proxy server. This information could be fed into APT, CURL and any other internet grab functions.

As it stands at the moment I need to go into the scripts and comment out the (mysterious) PPA that fails, and all CURL statements for acquiring the images. I then pull down the images manually as it's easier then editing all of the CURL statements at the moment.

I would be glad to help with pulling the source and making a mockup of the changes to the installation scripts (with proxy) over the next week.

@mastacontrola
Copy link
Member

You might want to continue this in the fog forum to get better exposure.

But with that said, I run my fog servers behind corporate proxies. In my case I use RHEL/Centos for the fog servers so I have to do 2 steps (I know they don't directly translate to Ubuntu).

  1. Add a line to yum.conf proxy=http://192.168.1.100:3128
  2. Update /etc/bashrc and add in
    export http_proxy=http://192.168.1.100:3128
    export https_proxy=http://192.168.1.100:3128
    export ftp_proxy=http://192.168.1.100:3128
    export no_proxy="localhost,127.0.0.1,<fog_server_ip_address>"

Then logout and back in. After that the fog installer scripts should access the internet without issue.

Geo

From the other post.

You can add all this to the relevant settings.

Remember, the script is just a script. Other areas, (curl, apt-get, wget, ppa, etc....)

Those are interally settable things with use of the rc formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants