1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00

bare metal now using live kernel

This commit is contained in:
Cody Hoag
2020-09-15 13:46:05 -04:00
parent 99afacd533
commit a6eec40cdb

View File

@@ -50,7 +50,7 @@ They resemble the following examples:
** ISO: `rhcos-<version>-installer.<architecture>.iso`
** Compressed metal RAW image: `rhcos-<version>metal.<architecture>.raw.gz`
** `kernel`: `rhcos-<version>-installer-kernel-<architecture>`
** `kernel`: `rhcos-<version>-installer-live-kernel-<architecture>`
** `initramfs`: `rhcos-<version>-installer-initramfs.<architecture>.img`
endif::openshift-origin[]
ifdef::openshift-origin[]
@@ -82,35 +82,29 @@ DEFAULT pxeboot
TIMEOUT 20
PROMPT 0
LABEL pxeboot
KERNEL http://<HTTP_server>/rhcos-<version>-installer-kernel-<architecture> <1>
APPEND ip=dhcp rd.neednet=1 initrd=http://<HTTP_server>/rhcos-<version>-installer-initramfs.<architecture>.img console=tty0 console=ttyS0 coreos.inst=yes coreos.inst.install_dev=sda coreos.inst.image_url=http://<HTTP_server>/rhcos-<version>-metal.<architecture>.raw.gz coreos.inst.ignition_url=http://<HTTP_server>/bootstrap.ign <2> <3>
KERNEL http://<HTTP_server>/rhcos-<version>-installer-live-kernel-<architecture> <1>
APPEND initrd=http://<HTTP_server>/rhcos-<version>-installer-live-initramfs.<architecture>.img console=ttyS0 console=tty0 coreos.inst.install_dev=/dev/sda coreos.inst.ignition_url=http://<HTTP_server>/bootstrap.ign coreos.live.rootfs_url=http://<HTTP_server>/rhcos-<version>-installer-live-rootfs.<architecture>.img <2>
----
<1> Specify the location of the `kernel` file that you uploaded to your HTTP
<1> Specify the location of the live `kernel` file that you uploaded to your HTTP
server.
<2> If you use multiple NICs, specify a single interface in the `ip` option.
For example, to use DHCP on a NIC that is named `eno1`, set `ip=eno1:dhcp`.
<3> Specify locations of the {op-system} files that you uploaded to your
HTTP server. The `initrd` parameter value is the location of the `initramfs` file,
the `coreos.inst.image_url` parameter value is the location of the compressed
metal RAW image, and the `coreos.inst.ignition_url` parameter value is the
location of the bootstrap Ignition config file.
<2> Specify locations of the {op-system} files that you uploaded to your HTTP
server. The `initrd` parameter value is the location of the live `initramfs`
file, the `coreos.inst.ignition_url` parameter value is the location of the
bootstrap Ignition config file, and the `coreos.live.rootfs_url` parameter value is
the location of the live `rootfs` file.
** For iPXE:
+
----
kernel http://<HTTP_server>/rhcos-<version>-installer-kernel-<architecture> ip=dhcp rd.neednet=1 initrd=http://<HTTP_server>/rhcos-<version>-installer-initramfs.<architecture>.img console=tty0 console=ttyS0 coreos.inst=yes coreos.inst.install_dev=sda coreos.inst.image_url=http://<HTTP_server>/rhcos-<version>-metal.<arhcitectutre>.raw.gz coreos.inst.ignition_url=http://<HTTP_server>/bootstrap.ign <1> <2>
initrd http://<HTTP_server>/rhcos-<version>-installer-initramfs.<architecture>.img <3>
boot
kernel http://<HTTP_server>/rhcos-<version>-installer-kernel-<architecture> console=ttyS0 console=tty0 coreos.inst.install_dev=/dev/sda coreos.inst.ignition_url=http://<HTTP_server>/bootstrap.ign coreos.live.rootfs_url=http://<HTTP_server>/rhcos-<version>-installer-live-rootfs.<architecture>.img <1>
initrd=http://<HTTP_server>/rhcos-<version>-installer-live-initramfs.<architecture>.img <2>
----
<1> Specify locations of the {op-system} files that you uploaded to your
HTTP server. The `kernel` parameter value is the location of the `kernel` file,
the `initrd` parameter value is the location of the `initramfs` file,
the `coreos.inst.image_url` parameter value is the location of the compressed
metal RAW image, and the `coreos.inst.ignition_url` parameter value is the
location of the bootstrap Ignition config file.
<2> If you use multiple NICs, specify a single interface in the `ip` option.
For example, to use DHCP on a NIC that is named `eno1`, set `ip=eno1:dhcp`.
<3> Specify the location of the `initramfs` file that you uploaded to your HTTP
the `coreos.inst.ignition_url` parameter value is the location of the bootstrap
Ignition config file, and the `coreos.live.rootfs_url` parameter value is
the location of the live `rootfs` file.
<2> Specify the location of the `initramfs` file that you uploaded to your HTTP
server.
. Continue to create the machines for your cluster.