wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


Sidebar

IPFire on AWS

This is a product by Lightning Wire Labs and will be launched soon.

Table Of Contents

installation:aws:user-data

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.

Examples

Install additional packages

#!/bin/bash

# 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.

installation/aws/user-data.txt · Last modified: 2018/08/15 13:43 by Michael Tremer