Skip to main content

2 posts tagged with "config"

View All Tags

· One min read
Hreniuc Cristian-Alexandru

Change the configs for our nodes on each server

# Contabo
ssh -i ~/.ssh/ansible_noob_id_rsa ansible_noob@SERVER-IP-1 # Master
ssh -i ~/.ssh/ansible_noob_id_rsa ansible_noob@SERVER-IP-2

sudo su -
# Sometimes you might need to only change on the server config
nano /etc/rancher/rke2/config.yaml

# For server
systemctl restart rke2-server

# For agent
systemctl restart rke2-agent

# Check the logs
journalctl -u rke2-server -f
journalctl -u rke2-agent -f

· One min read
Hreniuc Cristian-Alexandru

The xml config file isn’t closed correctly and the parsing of the parameters doesn’t work. There is a method around it:

  • Edit the file: /home/user/.config/bless/preferences.xml

    <pref name="ByteBuffer.TempDir">/tmp</pref> <!-- add this -->
    <pref name="Default.Layout.File"/>
    </preferences> <!-- Add this -->

    And make that file readonly, this way it won't get modified each time you restart bless.

Note: You won't be able to modify the preferences from the bless editor, you will have to edit the config file by yourself.

Another method is to rebuild Bless, applying a patch: