User:Gnyers/BootParamShorthand

Jump to: navigation, search

When installing a server from network, using the 'info' boot parameter one can save the trouble keying in all necessary boot parameters.

Observe this quite long boot parameter:

       autoyast=http://install.demo.lan/autoyast/sles11sp164-base/autoyast.xml
       loghost=install.demo.lan textmode=1
       install=http://install.demo.lan/install/SLES_11SP164/
       hostname=ayhost netdevice=eth0 hostip=192.168.110.123
       gateway=192.168.110.1 netmask=255.255.255.128
       nameserver=192.168.1.1 domain=demo.lan 
       usessh=0 sshpasswd=sshpasswd

Save the following into a file (e.g. sles11sp1-gen.inf) on your web server:

       autoyast: http://install.demo.lan/autoyast/sles11sp164-base/autoyast.xml
       loghost: install.demo.lan
       textmode: 1
       install: http://install.demo.lan/install/SLES_11SP164/
       hostname: ayhost
       netdevice: eth0
       hostip: 192.168.110.123
       gateway: 192.168.110.1
       netmask: 255.255.255.128
       nameserver: 192.168.1.1
       domain: demo.lan
       usessh: 0
       sshpasswd: sshpasswd

and use this line when booting the server:

       info=http://install.demo.lan/autoyast/sles11sp1-gen.inf

See more information about the "info" boot parameter at the AutoYaST documentation.


Additional tip:

With a simple CGI script one even could return customized content based on IP address or MAC address.