Hi Mike,
On 11/17/2016 01:15 PM, Michael MacIsaac wrote:
Is there any documentation on how to install RHEL 7 using DHCP?
The current "Cookbook" only shows how to static IP (who wrote that thing?
:)) The Red Hat documentation on line alludes to DHCP, but does not have a
specific example - perhaps I'm missing it.
The RHEL installation guide describes (a subset of) the "ip=" (pseudo)
kernel parameter syntax:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-installer-booting-ipl-s390.html#sect-customizing-generic-prm-s390
refers to:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-anaconda-boot-options.html#list-boot-options-network
(It also occurs in the x- and p-specific network install chapter of
which some parts are common code and also apply to z:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-installation-server-setup.html)
I think omitting the "ip=..." entirely also defaults to dhcp.
A kickstart file itself also has some dhcp syntax (network
--bootproto=dhcp):
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html#sect-kickstart-commands
On z Systems you likely still need "rd.znet=..." if you use a native
network device.
The full syntax of the ip= parameter (not sure if RHEL supports all of
this) is described for the dracut upstream project in
https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_network.
The anaconda upstream documentation has its own (subset?) copy under
https://github.com/rhinstaller/anaconda/blob/master/docs/boot-options.rst#network-options
or
https://rhinstaller.github.io/anaconda/boot-options.html#network-options,
but since RHEL7 uses dracut even for the installer initrd it's the same
mechanism as in my previous paragraph.
--
Mit freundlichen Grüßen / Kind regards
Steffen Maier
Linux on z Systems Development
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/