/srv/irclogs.ubuntu.com/2015/10/20/#ubuntu-installer.txt

=== zequence_ is now known as zequence
zero_shanehello - 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_shaneis 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 proxies18:41
zero_shane(if I've picked the wrong channel, apologies, and accepting redirects as appropriate)18:42
CarlFKzero_shane: I think the "on the kernel" bit is all that you should care about20:16
CarlFKit will override what is in the file, so doesn't matter if it is in the file or not.20:17
CarlFKzero_shane: what is your kernel append line?20:20
zero_shanehi @CarlFK - grabbing it now20: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_shanethe variable references are from Packer and filled in at runtime20:29
zero_shanethe http_proxy ends up as:  http_proxy=http://10.10.10.10:8080/20:29
CarlFKin my preseed file I have: d-i mirror/http/proxy string http://g2a:8000/20:33
CarlFKdo you know if http_proxy is a shortcut for that?  (there are a bunch, I forget where they are documented)20:34
zero_shanehmm - 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 overload20:35
zero_shaneso - I think I might need to change the install/append line to use the preseed format of the proxy config20:36
CarlFKthats where I would start20:36
zero_shaneI copied a "working" recipe for that ... :-)20:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!