hostname and ip number specification
is there another way to specify the hostname and ip number, then using DHCP or the config files? I was thinking of a possibility to specify the hostname and ip number on the bootprompt when AutoYast is about to start. I don't know how many characters can be specified at the boot promp, but it seems a good alternative to the above 2. I hope this is possible and can be made part of AutoYast. The reason I'm asking is; I have no access to our company's DHCP server, and it seems to me that changing the config files for each individual workstation is not "right". -- Richard Bos Democracy cost a fortune
* Richard Bos <allabos@freeler.nl> [May 11. 2002 14:34]:
is there another way to specify the hostname and ip number, then using DHCP or the config files?
I was thinking of a possibility to specify the hostname and ip number on the bootprompt when AutoYast is about to start. I don't know how many characters can be specified at the boot promp, but it seems a good alternative to the above 2. I hope this is possible and can be made part of AutoYast.
Yes, it is possible. Please take a loook at http://www.suse.de/~nashif/autoinstall/autoyast2/invoking.html and http://www.suse.de/~nashif/autoinstall/linuxrc.html All keywords can be now supplied on the command line. Anas -- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
Hello Anas, thank you for your fast reply. On zondag 12 mei 2002 04:19, Anas Nashif wrote:
I was thinking of a possibility to specify the hostname and ip number on the bootprompt when AutoYast is about to start. I don't know how many characters can be specified at the boot promp, but it seems a good alternative to the above 2. I hope this is possible and can be made part of AutoYast.
Yes, it is possible. Please take a loook at http://www.suse.de/~nashif/autoinstall/autoyast2/invoking.html
It was actually the above table that made me ask this question. I found the IP number keyword this time, but I did not find any reference to the host- or sysname keyword. - Did I overlook it? - Is it missing from the table/documentation, but is it just working? - Anything else?
I could not find a reference to the host- or sysname keyword either :( -- Richard Bos Democracy cost a fortune
* Richard Bos <allabos@freeler.nl> [May 12. 2002 19:02]:
Hello Anas,
thank you for your fast reply.
On zondag 12 mei 2002 04:19, Anas Nashif wrote:
I was thinking of a possibility to specify the hostname and ip number on the bootprompt when AutoYast is about to start. I don't know how many characters can be specified at the boot promp, but it seems a good alternative to the above 2. I hope this is possible and can be made part of AutoYast.
Yes, it is possible. Please take a loook at http://www.suse.de/~nashif/autoinstall/autoyast2/invoking.html
It was actually the above table that made me ask this question. I found the IP number keyword this time, but I did not find any reference to the host- or sysname keyword. - Did I overlook it? no - Is it missing from the table/documentation, but is it just working? no - Anything else?
I could not find a reference to the host- or sysname keyword either :(
There is no hostname keyword. 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#...) or use the configuration system (/sbin/yast2 autoyast) to specify any information regarding final network settings that the host has to get. Is this what you want or is it something else? Regards, Anas
-- Richard Bos Democracy cost a fortune
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada
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? 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). -- Richard Bos Democracy cost a fortune
* 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
participants (2)
-
Anas Nashif
-
Richard Bos