Scripted installation with user-data

IPFire takes a script that is executed on the first boot. This script can be used to make any initial changes to the configuration of the system or install additional software. This allows automatic installation of the IPFire instance.

The script can be written in any language that is supported by IPFire. Most commonly this would be shell. The script has to start with #! and an interpreter is required. Any output of that script will be logged to /root/user-data.log.


Install additional packages


# Install aws-cli tools
pakfire install -y aws-cli

This script will install the aws-cli package on first boot which provides various command to talk to AWS services.

Edit Page ‐ Yes, you can edit!

Older Revisions • January 4, 2022 at 3:26 pm • Michael Tremer