[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-autoinstall
Subject:    Re: [suse-autoinstall] hostname and ip number specification
From:       Anas Nashif <nashif () suse ! de>
Date:       2002-05-14 1:48:45
Message-ID: 20020514014845.GA12072 () suse ! de
[Download RAW message or body]

* Richard Bos <allabos@freeler.nl> [May 12. 2002 21:31]:
> Hello Anas,
> 
> On zondag 12 mei 2002 20:21, Anas Nashif wrote:
> > According to your problem description i understand that you need this to
> > boot and auto-install a machine by specifying the network information on
> > the command line rather than using a DHCP server which you cant change.
> 
> > The information specified in the documentation is enough to accomplish
> > this. You can specify IP, Nameserver, Netmask etc. and this is enough to
> > drive the installation. Regarding the hostname it has to be set using
> > the networking resource (See:
> > http://www.suse.de/~nashif/autoinstall/autoyast2/createprofile.network.html
> >#Configuration.Network.Devices) or use the configuration system (/sbin/yast2
> > autoyast) to specify any information regarding final network settings that
> > the host has to get.
> 
> I agree with you that the network information to get the autoinstall going is 
> available.
>  
> I don't need the hostname to get the boot going but to finish the 
> auto-installation without human intervention.  I don't see the possibility to 
> specify the hostname by using the configuration system (/sbin/yast2 
> autoyast), can you provide an example?
In the network dialog there is an interface to set DNS values and
host+domainname!
> 
> This is my point: as the hostname is unique (like the ip number) to each 
> system installed it has to be specified each installation.  It looks 
> cumbersome to write a floppy or to put up a webpage for each system to be 
> configured, while none of the settings change, but the hostname.  Because the 
> hostname (and the ip address) is the only variable changing it would be nice 
> to be able to provide it on the boot prompt as well (just as the ip number).

Well, in these cases normally you want to use DHCP. If DHCP is not an
option for you, then you need to do some scripting and do this in a post
script. If the nwtwork is up, you can query DNS and setup the hostname
using a script. I will look into that problem and will see if anything
can be done to make it easier...

Regards,
Anas
--
Anas Nashif <nashif@suse.com>, SuSE Linux AG
Montreal (Laval), Canada

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic