SitefinderOracle and Sun
Secure Search

BigAdmin System Administration Portal
Resource Description Page

BigAdmin Resource Description

Title: set_hostname
Section: Scripts
Category: Configuration
URL: /bigadmin/scripts/submittedScripts/set_hostname.txt


Description For 'set_hostname '
set_hostname
URL: http://www.sun.com/bigadmin/scripts/submittedScrip...

Description: In some DHCP environments, the hostname is not set on the system, when it's not available to retrieve it from the DHCP/DNS server.

In this case the systems hostname will be unknown, which gives some problems.

This script will read the systems hostname from /etc/nodename, and set it, IF the file dhcp.hme0 (or what ever the NIC is) is found in /etc, and the hostname is unknown or Unknown, then it will set the local-hostname.

Contact: Yngve Berthelsen, mig [ at ] yngve.dk

Submitter: Yngve Berthelsen

Collections/Keywords:
configuration

 
 


BigAdmin
  
 
BigAdmin Solaris 10 Survey
 
Oracle - The Information Company