Changing the initial config in k3OS (password)

This step is required e.g., when you want to change the k3OS password after initial installation

Instructions

Open the file:

sudo vim /var/lib/rancher/k3os/config.yaml

Then add the following lines (e.g., to change the password):

k3os:
	password: YOUR_NEW_PASSWORD

Anything written here will automatically overwrite anything in the initial installation configuration.

Now either reboot using sudo reboot or execute sudo k3os config to reload the config