Josh,<div><br></div><div>Thanks for the reply. I'm not having any luck with the pre-script though. It doesn't seem to be making a difference. I'm a little confused as to how/when the pre-scripts run. How do you write to /etc/hosts when the file system hasn't even been created yet?</div>
<div><br></div><div>Is there some way within spacewalk to tell it to just use the spacewalk server's IP address instead of it's hostname?</div><div><br></div><div>Also, I'm still very confused as to why it's trying to resolve reverse DNS for an IPv6 address.</div>
<div><br></div><div>Mike<br><br><div class="gmail_quote">On Mon, Oct 29, 2012 at 10:54 AM, Josh Preston <span dir="ltr"><<a href="mailto:JoshPreston@dswinc.com" target="_blank">JoshPreston@dswinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="font-size:14px;word-wrap:break-word">
<div style="font-family:Calibri,sans-serif">Mike,</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">As for #1:</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">I've run into similar problems, and instead of figuring out what is wrong, I instead opted to side step it by using a PRE script to ensure the /etc/hosts file has the correct entry for the Satellite server:</div>

<div style="font-family:Calibri,sans-serif"><br>
</div>
<div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><font face="Consolas"># Begin spacewalk/1/pre-configure-networking snippet</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><span style="font-family:Consolas">#if $redhat_management_server == "my.satellite.fqdn.local"</span></div>
<div><font face="Consolas">echo "10.0.xx.yy   $redhat_management_server" >> /etc/hosts</font></div>
<div><font face="Consolas">#else if $redhat_management_server == "my.satellite.proxy.fqdn.local"</font></div>
<div><font face="Consolas">echo "10.97.xx.yy   $redhat_management_server" >> /etc/hosts</font></div>
<div><font face="Consolas">#else if $redhat_management_server == "my.satellite.other.proxy.fqdn.local"</font></div>
<div><font face="Consolas">echo "172.16.xx.yy   $redhat_management_server" >> /etc/hosts</font></div>
<div><font face="Consolas">#else</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas"># $redhat_management_server is not supported (ok); you better hope DNS resolves correctly!</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas">#end if</font></div>
<div><font face="Consolas"><br>
</font></div>
<div><font face="Consolas"># End spacewalk/1/pre-configure-networking snippet</font></div>
</blockquote>
</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div style="font-family:Calibri,sans-serif"><br>
</div>
</blockquote>
<div style="font-family:Calibri,sans-serif">As for #2:</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">I prefer to not register at the end of the installation (kickstart).  I instead prefer to register it to a specific activation key after the system has been built.  It's sort of like building a GOLD image (base
 install) and then a second step of customizing it to a specific purpose.</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Thanks!</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<span style="font-family:Calibri,sans-serif">
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span>Mike Wilson <<a href="mailto:mrwboilers@gmail.com" target="_blank">mrwboilers@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>spacewalk-list <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
<span style="font-weight:bold">Date: </span>Monday, October 29, 2012 11:15 AM<br>
<span style="font-weight:bold">To: </span>spacewalk-list <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Spacewalk-list] Kickstart/DNS issue<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>I hope this isn't bad form, but I just wanted to give this a bump.<br>
<br>
<div class="gmail_quote">On Fri, Oct 26, 2012 at 3:49 PM, Mike Wilson <span dir="ltr">
<<a href="mailto:mrwboilers@gmail.com" target="_blank">mrwboilers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there some place in the kickstart profile to tell it NOT to use IPv6?
<div>
<div><br>
<br>
<div class="gmail_quote">On Fri, Oct 26, 2012 at 3:25 PM, Mike Wilson <span dir="ltr">
<<a href="mailto:mrwboilers@gmail.com" target="_blank">mrwboilers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At the point in the install where it stops because it can't resolve the spacewalk server's hostname, if I hit alt-F3, I can see more detail of what is happening.
<div><br>
</div>
<div>It says reverse name lookup failed</div>
<div>starting to STEP_URL</div>
<div>URL_STAGE_MAIN - url is <a href="http://myswalkserver/ks/dist/CentOS5" target="_blank">
http://myswalkserver/ks/dist/CentOS5</a></div>
<div>trying to mount CD device hda</div>
<div>trying to mount CD device scd0</div>
<div>transferring <a href="http://myswalkserver//ks/dist/CentOS5/images/updates.img" target="_blank">
http://myswalkserver//ks/dist/CentOS5/images/updates.img</a> to a fd</div>
<div>we don't have reverse DNS for IPv6 yet</div>
<div>transferring <a href="http://141swalk01//ks/dist/CentOS5/disc1/images/updates.img" target="_blank">
http://141swalk01//ks/dist/CentOS5/disc1/images/updates.img</a> to a fd</div>
<div>... more like that ("we don't have reverse DNS for IPv6 yet" appears a few more times.)</div>
<div><br>
</div>
<div>I'm not using IPv6. What gives?
<div>
<div><br>
<br>
<div class="gmail_quote">On Fri, Oct 26, 2012 at 9:56 AM, Mike Wilson <span dir="ltr">
<<a href="mailto:mrwboilers@gmail.com" target="_blank">mrwboilers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just built a spacewalk server and I'm trying to use it to kickstart the build of another box. It mostly works fine, with 2 exceptions:
<div><br>
</div>
<div>1. When the CentOS install starts, it says that it can't find the stage2.img file. It is trying to find it by the DNS name of my spacewalk server. It will let me edit where it's looking, and if I replace the server name with the server IP address, then
 it finds the file and the OS install completes. My spacewalk server provides DHCP, and valid DNS servers are included in the DHCP scope. After the install is complete and the newly built server boots up, it gets DHCP from the spacewalk server, /etc/resolv.conf
 is properly populated and I can successfully do an nslookup of the spacewalk server on it. So as far as I can tell, DHCP and DNS are working. Any suggestions?</div>
<div><br>
</div>
<div>2. When the kickstart completes, the newly built server is not registered in spacewalk. Shouldn't it be? Or do they always need to be registered manually? Or is it best to have it be registered through a post install script? I do have an activation key
 associated with the kickstart profile, and I've set up the tools child channel as outlined here: <a href="https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler" target="_blank">https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler</a></div>

<div><br>
</div>
<div>Any guidance is appreciated.</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></span>
</div>

<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>