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

Fixes #37410 - support http_proxy in preseed Autoinstall provisioning #10150

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

drkp
Copy link
Contributor

@drkp drkp commented May 6, 2024

No description provided.

@@ -65,6 +65,9 @@ autoinstall:
variant: ''
locale: <%= host_param('lang', 'en_US') %>.UTF-8
<%= snippet 'preseed_netplan_setup' -%>
<% if host_param('http-proxy') -%>
proxy: http://<%= host_param('http-proxy') %>:<%= host_param('http-proxy-port') %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR. Can you please have a look at

proxy_string = host_param('http-proxy') ? " http://#{host_param('http-proxy')}:#{host_param('http-proxy-port')}" : ''

it would be better to have an implementation which works if the proxy port is empty, too.

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