setHostName(String hostname) :仅用于客户机,设置主机名称
setHostName(String hostname): For client only, set the name of the host
这里提供了一个激活脚本ConfigNET . pl,它可以为克隆的SUSE V10虚拟机设置主机名、IP地址、网关、DNS服务器等过程实现自动化。
Included here is an activation script, ConfigNET.pl, that automates the process of setting the hostname, IP address, gateway, DNS server, and so on, for a cloned SUSE V10 virtual machine.
最后要正确地设置每个节点的主机名。
Finally, make sure the hostname of each node is set correctly.
应用推荐