Header Background
On this Page:

Installing Packages

Since the croit OS is immutable, any changes will be lost on reboot! But since you might need some additional packages (such as monitoring agents), you can install them via hook scripts and extra files.

Example

Let's say you have an example.rpm you desperately need on all your cluster nodes.

  1. Copy the rpm to /config/extra-files in your container. You might need to create that folder first.
  2. Navigate to Config -> Hook Scripts.
  3. Create a new PostDaemonStart Hook Script, with the following script:
#!/bin/bash

no_proxy="croit-mgmt" rpm -i http://croit-mgmt:8080/api/extra-files/example.rpm

Done! Now example.rpm while be installed whenever a server has rebooted. You can also manually trigger the script on your nodes, by selecting the hook script and clicking the Execute button.