Dirk.Lohmann@Bertelsmann.de schrieb:
Hello,
we want to set in /etc/sysconfig/network/dhcp WRITE_HOSTNAME_TO_HOSTS from "yes" to "no" in SLES11
How can wie do that with xml ?
Dirk Lohmann
Hello Dirk,
this should work:
<profile ...> <sysconfig config:type="list" > <sysconfig_entry> <sysconfig_key>WRITE_HOSTNAME_TO_HOSTS</sysconfig_key> <sysconfig_path>/etc/sysconfig/network/dhcp</sysconfig_path> <sysconfig_value>no</sysconfig_value> </sysconfig_entry> </sysconfig>
http://www.suse.com/~ug/autoyast_doc/createprofile.sysconfig.html
Regards, Oliver