hostname

此指令可讓您定義 SVM 的網域名稱,並確保 SVM 的 IP 位址和網域名稱在檔案 /etc/hosts 中。

設定

<hostname> [<IP>]

其中:

範例:

> ssh klconfig@192.0.2.17 hostname testsvm.example.com 192.0.2.17

> klconfig@192.0.2.17's password:

KLCONFIG OK

特定錯誤

0120 Invalid hostname characters <characters>:SVM 名稱中的字元無效。

0121 Invalid hostname, empty label present:SVM 名稱包含空區域。

頁面頂部