Single node update

Fetch expected machineconfig:

oc get mc/$(oc get mcp/master -o=jsonpath='{.spec.configuration.name}') -o yaml > mc.yaml

Run oc debug node/ip-10-0-130-23.us-east-2.compute.internal and keep it open.

In a parallel tab copy MC to the debug container:

oc -n openshift-machine-config-operator cp mc.yaml ip-10-0-130-23us-east-2computeinternal-debug:/tmp

Now in debug container it to host:

cp /tmp/mc.yaml /host/var/lib/mc.yaml

chroot into real root:

chroot /host

and pivot to new config

machine-config-daemon start --root-mount=/ --node-name=ip-10-0-130-23.us-east-2.compute.internal --once-from /var/lib/mc.yaml

Once the machine reboots annotate the node:

oc annotate nodes ip-10-0-130-23.us-east-2.compute.internal "machineconfiguration.openshift.io/desiredConfig"="rendered-master-5a4b2c3f977cb55f4d514b2541462f0f" --overwrite

and uncordon it:

oc adm uncordon ip-10-0-130-23.us-east-2.compute.internal