On Thu, Apr 26, 2007 at 01:56:11PM +0200, Jacob Emcken wrote:
I just want to point out that I'm using version 9 of Suse Linux Enterprise server.
Are you using any of the SPs or just SLES9 stock?
I'm doing something similar in that we dhcp boot, but in the
pre-install, I read in config files and write out a
/tmp/profile/modified.xml file with new info in it for many things, like
network.
For net, I go from:
<networking>
<comment>NET_DEFAULTS</comment>
</networking>
to values like:
<networking>
AUTO
<dns>
false
false
<domain>qualcomm.com</domain>
<hostname>$my_hostname</hostname>
<nameservers config:type="list">
<nameserver>$dns_server</nameserver>
</nameservers>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>static</bootproto>
<device>$net_dev</device>
<ipaddr>$my_ip</ipaddr>
<netmask>$my_netmask</netmask>
<startmode>auto</startmode>
<usercontrol>no</usercontrol>
</interface>
</interfaces>
<managed config:type="boolean">false</managed>
<modules config:type="list">
<device>static-0</device>
<module></module>
<options></options>
</modules>
<routing>
false
<routes config:type="list">
<route>
<destination>default</destination>
<device>-</device>
<gateway>$my_router</gateway>
<netmask>-</netmask>
</route>
</routes>
</routing>
</networking>
The variables up there are obviously replaced by the right values by the
script (lines that are multiple like the $dns_server values are done in
a loop, I only included one in the sample), but that's the output I use
and it works. I based this on a clone file from a sles9-sp3 host.
--
Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com
"You think it's a conspiracy by the networks to put bad shows on TV. But the
shows are bad because that's what people want. It's not like Windows users don't
have any power. I think they are happy with Windows, and that's an incredibly
depressing thought."
-- Steve Jobs
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org