Hi,
I am using autoyast to install both SLES11 and openSUSE 11.2 hosts. I
want all host to use FQDN for hostname, but for unknown reasons, some
of them do, and some others only have a short name without domain
part. The autoyast.xml file is auto generated for each node, and only
FQDN are referenced in there.
I have following sections in autoyast.xml (real host name replaced,
to protect innocent):
<host>
<hosts config:type="list">
127.0.0.1
<names config:type="list">
<name>localhost </name>
</names>
10.1.68.86
<names config:type="list">
<name>myhostname,example.com</name>
</names>
</hosts>
</host>
and
<dns>
<domain>example.com</domain>
<hostname>myhostname.example.com</hostname>
<nameservers config:type="list">
...
</nameservers>
<searchlist config:type="list">
...
</searchlist>
</dns>
I also have following line in /etc/sysctl.conf:
kernel.hostname = myhostname.example.com
Even after reboot, above sysctl.conf entry doesn't seem to do
anything, or some scripts has changed hostname after
/etc/init.d/boot.d/S13boot.sysctl script.
So my question is how should I set hostname during initial set up ?
Thanks,
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org