On Thu, 17 Dec 2009, Hans-Joachim Ehlers wrote:
Currently I have an info-file in the initrd to provide all autoyast information. But this file contains the IP number of the Installation server
Example: cat info.sl111.x86 ... netdevice: eth0 netmask: 255.255.0.0 broadcast: 10.0.255.255 gateway: 10.0.0.1 server: 10.0.0.5 #Autoyast configuration autoyast: http://10.0.0.5/export/suse/sl111/autoinstall/
BTW: Is the server parameter still needed ?
It's the location from where the install environment is loaded. Technically, using the 'install' option instead would be better, though.
But I would like to provide the information via DHCP thus giving autoyast the information dynamically. Thus I would have a generic installation environment.
Any ideas ?
If you can make your data appear in /var/lib/dhcpcd/dhcpcd-eth0.info, you can run a script to extract the data and feed the result to linuxrc. For example, put this into your info file:
exec: /myscript info: /tmp/new_data
'/myscript' can then create '/tmp/new_data' which adds the required parameters.
Steffen