Skip to content

Commit 7bbd94e

Browse files
author
Bob Furu
authored
Merge pull request #34615 from bgilbert/console
2 parents d84ba22 + 7e436e0 commit 7bbd94e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/installation-special-config-butane-create.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ You can use Butane to produce a `MachineConfig` object so that you can configure
1313

1414
.Procedure
1515

16-
. Create a Butane config file. The following example creates a file named `99-worker-console.bu` that configures the system console to use the second serial port and specifies custom settings for the chrony time service:
16+
. Create a Butane config file. The following example creates a file named `99-worker-custom.bu` that configures the system console to show kernel debug messages and specifies custom settings for the chrony time service:
1717
+
1818
[source,yaml]
1919
----
2020
variant: openshift
2121
version: 4.8.0
2222
metadata:
23-
name: 99-worker-console
23+
name: 99-worker-custom
2424
labels:
2525
machineconfiguration.openshift.io/role: worker
2626
openshift:
2727
kernel_arguments:
28-
- console=ttyS1,115200
28+
- loglevel=7
2929
storage:
3030
files:
3131
- path: /etc/chrony.conf
@@ -42,14 +42,14 @@ storage:
4242
+
4343
[NOTE]
4444
====
45-
The `99-worker-console.bu` file is set to create a machine config for worker nodes. To deploy on control plane nodes, change the role from `worker` to `master`. To do both, you could repeat the whole procedure using different file names for the two types of deployments.
45+
The `99-worker-custom.bu` file is set to create a machine config for worker nodes. To deploy on control plane nodes, change the role from `worker` to `master`. To do both, you could repeat the whole procedure using different file names for the two types of deployments.
4646
====
4747

4848
. Create a `MachineConfig` object by giving Butane the file that you created in the previous step:
4949
+
5050
[source,terminal]
5151
----
52-
$ butane 99-worker-console.bu -o ./99-worker-console.yaml
52+
$ butane 99-worker-custom.bu -o ./99-worker-custom.yaml
5353
----
5454
+
5555
A `MachineConfig` object YAML file is created for you to finish configuring your machines.
@@ -58,5 +58,5 @@ A `MachineConfig` object YAML file is created for you to finish configuring your
5858
+
5959
[source,terminal]
6060
----
61-
$ oc create -f 99-worker-console.yaml
61+
$ oc create -f 99-worker-custom.yaml
6262
----

0 commit comments

Comments
 (0)