On Tue, 2010-05-25 at 09:50 -0400, Martin Langhoff wrote: > On Tue, May 25, 2010 at 7:14 AM, Andrew van der Stock > <[email protected]> wrote: > > So effectively, I'm looking for the XS to be single armed. Is this possible? > > Hmmm, you are actually asking to get the XS running as a server in a > network configured by someone else (your AP, which is actually acting > as a NAT'ing router). > > It is possible, but a bit of work. Jerry is the one with the most info > on this. Actually, time to ask him for a brief howto ;-) > My writing skill sucks... lol... but in a nutshell I use a different ks.cfg file, that makes the needed changes to the config files involved: (watch for line wrap...)
%post #place #Listen in /etc/httpd/conf/httpd-xs.conf sed -i -e "s/Listen/#Listen/" /etc/httpd/conf/httpd-xs.conf sed -i -e "s/#Listen 172.18.0.1:80/Listen 80/" /etc/httpd/conf/httpd-xs.conf # fix xinetd.d services # xs-rsyncd xsactivation sed -i -e "s/172.18.0.1/0.0.0.0/" /etc/xinetd.d/xs-rsyncd sed -i -e "s/172.18.0.1/0.0.0.0/" /etc/xinetd.d/xsactivation # fix idmgr sed -i -e "s/BIND_ADDRESS=172.18.0.1/BIND_ADDRESS='0.0.0.0'/" /etc/idmgr.conf.in # then clean up network rm -f /etc/sysconfig/network-scripts/route-lanbond0 rm -f /etc/sysconfig/network-scripts/route-eth0 rm -f /etc/sysconfig/network-scripts/ifcfg-mshbond0 rm -f /etc/sysconfig/network-scripts/ifcfg-mshbond1 rm -f /etc/sysconfig/network-scripts/ifcfg-mshbond2 rm -f /etc/sysconfig/network-scripts/ifcfg-msh0 rm -f /etc/sysconfig/network-scripts/ifcfg-msh1 rm -f /etc/sysconfig/network-scripts/ifcfg-msh2 rm -f /etc/sysconfig/network-scripts/ifcfg-wmesh0 rm -f /etc/sysconfig/network-scripts/ifcfg-wmesh1 rm -f /etc/sysconfig/network-scripts/ifcfg-wmesh2 rm -f /etc/sysconfig/network-scripts/ifcfg-eth1 rm -f /etc/sysconfig/network-scripts/ifcfg-lanbond0 rm -f /etc/sysconfig/network-scripts/ifcfg-lanbond0:0 rm -f /etc/sysconfig/network-scripts/ifcfg-lanbond0:1 rm -f /etc/sysconfig/network-scripts/ifcfg-lanbond0:2 # commit the changes pushd /etc git commit -a -m "custom changes done" popd %end That is the meat of the changes you need to do. You still need to set the network up and disable dhcpd and named, I do that in the kickstart file at install time. Jerry _______________________________________________ Server-devel mailing list [email protected] http://lists.laptop.org/listinfo/server-devel
