=== zequence_ is now known as zequence | ||
zero_shane | hello - I have a question related to install via preseed - at install, I pass "http_proxy=..." - my goal is to *not* have to specify the PROXY in the preseed cfg - but it doesn't quite seem to work - I still have to pass a "d-i mirror/http/proxy ... " | 18:40 |
---|---|---|
zero_shane | is there some way to specify on the kernel/install time - the proxy to push down in to the installer, so I don't have to specify it in the preseed? then I can simply do my builds by setting that install flag - and not have to modify my preseeds for different proxies | 18:41 |
zero_shane | (if I've picked the wrong channel, apologies, and accepting redirects as appropriate) | 18:42 |
CarlFK | zero_shane: I think the "on the kernel" bit is all that you should care about | 20:16 |
CarlFK | it will override what is in the file, so doesn't matter if it is in the file or not. | 20:17 |
CarlFK | zero_shane: what is your kernel append line? | 20:20 |
zero_shane | hi @CarlFK - grabbing it now | 20:25 |
zero_shane | /linux noapic preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/{{user `preseed_file`}} http_proxy={{user `proxy`}} hostname={{user `hostname`}} debian-installer=en_US auto locale=en_US kbd-chooser/method=us fb=false keyboard-configuration/modelcode=SKIP keyboard-configuration/ layout=USA keyboard-configuration/variant=USA console-setup/ask_detect=false initrd=/initrd.gz -- | 20:28 |
zero_shane | the variable references are from Packer and filled in at runtime | 20:29 |
zero_shane | the http_proxy ends up as: http_proxy=http://10.10.10.10:8080/ | 20:29 |
CarlFK | in my preseed file I have: d-i mirror/http/proxy string http://g2a:8000/ | 20:33 |
CarlFK | do you know if http_proxy is a shortcut for that? (there are a bunch, I forget where they are documented) | 20:34 |
zero_shane | hmm - good point - no I don't think it's right - I do also have "mirror/http/proxy" there, which is what I was trying to overload | 20:35 |
zero_shane | so - I think I might need to change the install/append line to use the preseed format of the proxy config | 20:36 |
CarlFK | thats where I would start | 20:36 |
zero_shane | I copied a "working" recipe for that ... :-) | 20:37 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!