<br><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 12, 2012 at 4:00 PM, Zack Perry <span dir="ltr">&lt;<a href="mailto:zack.perry@sbcglobal.net" target="_blank">zack.perry@sbcglobal.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr>
<td valign="top" style="font:inherit">Hi Andrew, <div><br></div><div>Many thanks for your clear and specific hints.  We together discovered a bug in 2.4.0 in epel-testing too: that the magic variables in the bundled sample.seed do not take effect:</div>
<div><br></div><div><div>    30  # Setup the installation source</div><div>    31  d-i mirror/country string manual</div><div>    32  d-i mirror/http/hostname string $http_server:$http_port</div><div>    33  d-i mirror/http/directory string $install_source_directory</div>
<div>    34  d-i mirror/http/proxy string</div><div><br></div><div>The --kopts values did the magic of setting the network interface to use during install too.</div><div><br></div><div>I deliberated a bit about using the {linux, initrd.gz} in install/netboot/ubuntu-install/amd64 makes sense,
 since<span style="font-size:10pt"> PXE boot is a kind of network install. Regretably, Canonical pays so much attention to the desktop usage scenarios that it fails to mention this requirement anywhere AFAIK.</span></div>
</div></td></tr></tbody></table></blockquote><div><br></div><div>Cool. Glad I could help here. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">Now I just need to come up a script to set the hostname, static IP etc, then all are set 8-)</span></div>
</div></td></tr></tbody></table></blockquote><div><br></div><div>For the hostname you should be able to use the following preseed entry:</div><div><br></div><div>d-i     netcfg/get_hostname string $hostname</div><div><br>
</div><div>Regards,</div><div><br></div><div>Andrew</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div><div><span style="font-size:10pt"><br></span></div><div>Best Regards,</div><div><br></div><div>-- Zack</div><br><blockquote style="border-left-width:2px;border-left-style:solid;border-left-color:rgb(16,16,255);margin-left:5px;padding-left:5px">
<br><br><div>Hi,<div><br><div><br><div><div>[...]</div><div class="im"><div>You can try pointing the preseed file to the proxy using the following entries:</div>
<div><br></div><div>d-i     mirror/http/hostname string &lt;IP or Hostname of the proxy&gt;</div><div>d-i     mirror/http/directory string &lt;directory where the repository is&gt;</div><div><br></div><div>We currently use the above with our internal mirrors and it works like a charm. I&#39;m not sure about the dnsmasq proxy and if / how it will work for you.</div>

<div><br></div><div>The repos will most likely only be added to the preseed by using a snippet and templating. I&#39;m not totally sure about this so hopefully someone with some more info can help you out here. For a standard cobbler installation your directory setting would be similar to &quot;cblr/ks_mirror/&lt;distro_name&gt;/&quot;. </div>

<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[...]</blockquote><div class="im"><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote><div>The preseed file needs to be downloaded before the values in the preseed file can be used but it needs info such as which interface to use to download the preseed file. So you can place the following into the &quot;Kernel Options&quot; on either the profile or the distro in cobbler:</div>

<div><br></div><div>interface=eth0 vga16fb.modeset=0 locale=en_US keyboard-configuration/layoutcode=us<br></div><div><br></div><div>You will mainly be in the &quot;interface=eth0&quot; entry as it will tell the installation to use interface eth0 for the network connection and will in turn allow you to download your preseed file.</div>

<div><br></div><div>Regards,</div><div><br></div><div>Andrew</div></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">[...]</blockquote>
</div></div></div></div></blockquote></div></td></tr></tbody></table></blockquote></div><br></div>