Jean-Paul,
I use autoyast procedure
[...]
my goal is to include the configuration of ethernet interfaces and root
password during the installation process... What's the code
to include in my autoinst.xml file for enabling these purposes please ?
I'd prefer "yast2 autoyast" to setup the XML-File, but however
this would be an example for a static configuration:
<networking>
<dns>
false
false
<domain>YOUR_DOMAIN_NAME</domain>
<hostname>YOUR_HOST_NAME</hostname>
<nameservers config:type="list">
<nameserver>YOUR_NAMESERVER_1</nameserver>
<nameserver>YOUR_NAMESERVER_2</nameserver>
</nameservers>
<searchlist config:type="list">
<search>YOUR_DNS_SEARCH_PREFIX</search>
</searchlist>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>static</bootproto>
<broadcast>YOUR_BROADCAST_ADDRESS</broadcast>
<device>eth0</device>
<ipaddr>YOUR_IP_ADDRESS</ipaddr>
<name>Ethernet Network Card</name>
<netmask>YOUR_NETMASK</netmask>
<network>YOUR_NETWORK_IP_ADDRESS</network>
<startmode>auto</startmode>
<usercontrol>no</usercontrol>
</interface>
</interfaces>
<modules config:type="list">
<device>static-0</device>
<module>YOUR_ETH0_KERNEL_MODULE</module>
<options>YOUR_OPTIONS_FOR_THE_ETH0_KERNEL_MODULE</options>
</modules>
<routing>
false
<routes config:type="list">
<route>
<destination>default</destination>
<device>-</device>
<gateway>YOUR_GATEWAY</gateway>
<netmask>-</netmask>
</route>
</routes>
</routing>
</networking>
=======
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<fullname>root</fullname>
<gid>0</gid>
<home>/root</home>
<max>10000</max>
<min>0</min>
<shell>/bin/bash</shell>
<uid>0</uid>
ENCRYPTED_PASSPHRASE_COMES_HERE
<username>root</username>
</user>
</users>
=====
Regards,
Peter.