sakshi-80
Mission Specialist
Mission Specialist
  • 668 Views

Need help in finding documentaion related to the exercise

Jump to solution

Hi Team,

 

Can you please help me find the exact documentation for the code mentioned below in the exercise 

https://role.rhu.redhat.com/rol-rhu/app/courses/do380-4.10/pages/ch07s04

 

[student@workstation pools-creating]$ cat motd-mc.ymll apiVersion: machineconfiguration.openshift.io/v1 kind: MachineConfig metadata: labels: machineconfiguration.openshift.io/role: infra name: 50-motd spec: config: ignition: version: 3.2.0 storage: files: - contents: source: data:text/plain;charset=utf-8;base64,VGhpcpcyBh...9mIHRZS4K filesystem: root mode: 0644 path: /etc/motd

 

1 Solution

Accepted Solutions
justasd
Mission Specialist
Mission Specialist
  • 641 Views

Not necessarily


Please check: https://docs.openshift.com/container-platform/4.10/post_installation_configuration/node-tasks.html

 

There is an ignition example in section "Adding a new RHCOS worker node with a custom /var partition in AWS":

"source": "data:text/plain;charset=utf-8;base64,....."

View solution in original post

4 Replies
justasd
Mission Specialist
Mission Specialist
  • 657 Views

Hello,

Please see: https://docs.openshift.com/container-platform/4.10/post_installation_configuration/cluster-tasks.htm...

Section: Creating a machine config pool for infrastructure machines

 

There are some examples. It is not exact but close

sakshi-80
Mission Specialist
Mission Specialist
  • 652 Views

Thanks for getting back. Yah it's not exact 

So we have to remember the syntax below during the exam :

- contents: source: data;text/plain;charset=utf-8;base64,
justasd
Mission Specialist
Mission Specialist
  • 642 Views

Not necessarily


Please check: https://docs.openshift.com/container-platform/4.10/post_installation_configuration/node-tasks.html

 

There is an ignition example in section "Adding a new RHCOS worker node with a custom /var partition in AWS":

"source": "data:text/plain;charset=utf-8;base64,....."

Chetan_Tiwary_
Moderator
Moderator
  • 620 Views

No @sakshi-80 I dont think so that you have to remember this syntax - either take the basic idea from the doc as @justasd mentioned or you will have to edit / add the base 64 encoded contents only there.

0 Kudos
Join the discussion
You must log in to join this conversation.