Skip to content

Commit

Permalink
include bootstrapExternalStatic* variables in doc
Browse files Browse the repository at this point in the history
Starting in OCP 4.12 there are some variables that
allow to statically assign IP/GW in the external net
and DNS in 4.14. Also update bootstrapProvisioningIP
references for 4.6.
  • Loading branch information
manurodriguez committed Sep 13, 2024
1 parent 30ee293 commit fd4b430
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 2 deletions.
20 changes: 19 additions & 1 deletion ansible-ipi-install/inventory/hosts.sample
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,28 @@ pullsecret=""
# (Optional) Enable RedFish VirtualMedia/iDRAC VirtualMedia
#enable_virtualmedia=True

# (Required when enable_virtualmedia is set to True) Set an available IP address from the baremetal net for these two variables
# (Required when enable_virtualmedia is set to True in OCP 4.6) Set an available IP address from the baremetal net for these two variables
#provisioningHostIP=<baremetal_net_IP1>
#bootstrapProvisioningIP=<baremetal_net_IP2>

# (Optional in OCP >= 4.7) Set an available IP address from the provisioning network when provisioning network is enabled. Not used when enable_virtualmedia=True
#bootstrapProvisioningIP=<provisioning_net_IP>

# (Optional in OCP >= 4.12 ) Allows to set bootstrapExternalStatic* variables starting.
#static_bootstrap_extnet=false

# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate IP address on the baremetal network
# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True.
#bootstrapExternalStaticIP=<baremetal_net_IP>

# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate GW address on the baremetal network
# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True.
#bootstrapExternalStaticGateway=<baremetal_net_GW>

# (Optional in OCP >= 4.14 ) Set this parameter to the appropriate DNS address on the baremetal network
# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True.
#bootstrapExternalStaticDNS=<baremetal_net_DNS>

# (Optional) Change the boot mode of the OpenShift cluster nodes to legacy mode (BIOS). Default is UEFI.
#bootmode=legacy

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,28 @@ pullsecret=""
# (Optional) Enable RedFish VirtualMedia/iDRAC VirtualMedia
#enable_virtualmedia=True
# (Required when enable_virtualmedia is set to True) Set an available IP address from the baremetal net for these two variables
# (Required when enable_virtualmedia is set to True in OCP 4.6) Set an available IP address from the baremetal net for these two variables
#provisioningHostIP=<baremetal_net_IP1>
#bootstrapProvisioningIP=<baremetal_net_IP2>
# (Optional in OCP >= 4.7) Set an available IP address from the provisioning network when provisioning network is enabled. Not used when enable_virtualmedia=True
#bootstrapProvisioningIP=<provisioning_net_IP>
# (Optional in OCP >= 4.12 ) Allows to set bootstrapExternalStatic* variables starting.
#static_bootstrap_extnet=false
# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate IP address on the baremetal network
# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True.
#bootstrapExternalStaticIP=<baremetal_net_IP>
# (Optional in OCP >= 4.12 ) Set this parameter to the appropriate GW address on the baremetal network
# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True.
#bootstrapExternalStaticGateway=<baremetal_net_GW>
# (Optional in OCP >= 4.14 ) Set this parameter to the appropriate DNS address on the baremetal network
# when the provisioningNetwork configuration setting is set to Disabled, enable_virtualmedia is set to True and static_bootstrap_extnet is set to True.
#bootstrapExternalStaticDNS=<baremetal_net_DNS>
# (Optional) A MAC address to use for the external NIC on the bootstrap VM. This is optional and if blank is generated by libvirt.
#externalMACAddress="52:54:00:XX:XX:XX"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,22 @@ ifeval::[{product-version} > 4.4]
| Set this parameter to the appropriate list of exclusions for proxy usage within your environment.
endif::[]

ifeval::[{product-version} >= 4.12]
| `bootstrapExternalStaticIP`
|
| Set this parameter to the appropriate IP address on the `baremetal` network when the `provisioningNetwork` configuration setting is set to `Disabled`.

| `bootstrapExternalStaticGateway`
|
| Set this parameter to the appropriate GW address on the `baremetal` network when the `provisioningNetwork` configuration setting is set to `Disabled`.
endif::[]

ifeval::[{product-version} >= 4.14]
| `bootstrapExternalStaticDNS`
|
| Set this parameter to the appropriate DNS address on the `baremetal` network when the `provisioningNetwork` configuration setting is set to `Disabled`.
endif::[]

|===

[id="hoststable"]
Expand Down

0 comments on commit fd4b430

Please sign in to comment.